NYC Subwaysheds
Where can you get within 40 minutes from every subway station in New York? Chris Whong’s fun, interactive map shows you, using GTFS data from New York’s Metropolitan Transportation Authority and Turf.js to calculate the isochrones.
Where can you get within 40 minutes from every subway station in New York? Chris Whong’s fun, interactive map shows you, using GTFS data from New York’s Metropolitan Transportation Authority and Turf.js to calculate the isochrones.
This has been lurking in my feed reader for a while, but it’s still worth sharing: Google offers a new set of Web Components to compose and add basic maps applications to websites, removing the need to write extensive JavaScript.
The basic example shows how to add a map with a marker to a website:
<gmp-map
style="height: 500px;"
center="41.081736,29.009206"
zoom="10"
map-id="DEMO_MAP_ID"
>
<gmp-advanced-marker
position="41.081736,29.009206"
title="Istanbul"
></gmp-advanced-marker>
</gmp-map>
More interactive maps can be built with auxiliary components for buttons, layout and overlays.
This is a positive development: Web Components allow developers to add basic map functionality to websites without resorting to additional frameworks with potentially heavy footprints. I’d like to see more proposals like this.
Open-source alternatives are available (for OpenLayers) or have not seen significant development in recent years (for Leaflet).
For a recent investigation comparing internet speeds across the US, The Markup needed a map without compromising their pledge to user privacy:
Initially we turned to Mapbox, an established leader for generating and publishing online maps. But when we embedded a map from Mapbox on our staging website, we found it assigned a tracker that could not be disabled without violating Mapbox’s terms of service.
They ultimately settled for MapTiler in combination with MapLibre. Go open source!
A new major release is available of the open-source WebGL mapping framework MapLibre GL.
This release is a big step for MapLibre GL JS! With more than 500 commits, and almost a year in the making, version 3.0.0 is surely our best release yet.
Notable changes include:
transformCameraUpdate
provides a hook that allows you to manipulate the map’s camera state, ideal for use with reactive front-end frameworks where the camera-state properties are stored externally,interpolate-hcl
,A GeoTIFF explainer in a Library-of-Congress blog; who would have thought?
One thought about the OGC Tiles API lives rent-free in my head. We’ve had working de facto standards for years. Google Maps introduced the idea of map tiles in 2005, and the Tile Map Service specification followed a year later. We’re nearing twenty years of well-established conventions for tile services, so why now? Why do we need a bloated document to describe what mostly fits in a blog post?
Of course, I didn’t read the OGC Tile API specification or any of its siblings. I read the entirety of the WMS and Styled Layer Descriptor specification for university, and reading OGC documents isn’t something I would recommend for fun.
Tim Schaub’s post doesn’t answer the Why, but it sheds light on what this new set of specs add. The OGC Tiles API allows more detailed descriptions of the services behind an API. It formalises tiling for raster, vector and rendered map tiles and it allows to advertise projections, geographic extend and limitations on tile sets on each zoom level.
You could get all of the information by reading the specs but Tim’s summary does a much better job at lowering the barrier to start developing compliant APIs. We need more readable summaries for OGC standards like this.
Radiant Earth announced two initiatives to further the development and sharing of machine-learning models and the adoption of cloud-native formats for geospatial data.
Source Cooperative aims to provide a marketplace for machine-learning models and training data:
Source Cooperative builds upon Radiant MLHub’s legacy as a neutral and trustworthy data publishing platform and will enable the publication of a wider variety of datasets in addition to machine learning training data products and machine learning models. For anyone who has any kind of data or machine learning models that they need to share, Source Cooperative will allow them to upload it, define how open they want it to be, and even charge for it if they want to.
It sounds a bit like GitHub, but for machine-learning models and training data, with integrated monetisation. The new platform will replace Radiant MLHub, which will end operations in October 2023, and all data will be migrated to Source Cooperative.
Cloud-Native Geospatial Foundation aims to advance the adoption and development of cloud-native geospatial data formats through educational materials and supporting software development efforts.
Both activities are in very early stages with very little detail. You can contribute by participating in community surveys for each initiative.
Google announced that their 3D tiles will be available through the Map Tiles API. Surprisingly, the API isn’t a proprietary design but implements the OGC 3D Tiles standard, which opens the dataset up for visualisations using open-source client libraries such as Cesium or Deck.gl.
You have to register with Google and provide an API key to use Google’s 3D Tiles. The service is free, for now, during its experimental stage.
I’m surprised there isn’t more noise about this: The STAC API Specification has reached its 1.0 milestone.
While core STAC specification defines interfaces to publish and organise data in catalogues and collections, STAC API adds dynamic interfaces to enable machines to search and crawl datasets. For example, it adds STAC search, allowing clients to find STAC items across collections, based on filter criteria like a bounding box or date ranges and more complex queries against specific data properties, like cloud cover.
STAC API 1.0 is a continuation of the 0.9 specification, its previous release. The updated specification introduces a long list of changes; few are fundamental, but some are breaking changes—hence the major-version increase. For a detailed list of changes, check the changelog.
Felt added support for raster data like GeoTIFF, XYZ tile services and images:
Today we are announcing three new features that make raster files easier to work with than ever before:
- The ability to upload raster files as layers on your map.
- The ability to add any XYZ URL from sources such as Planet, or other imagery providers, which will dynamically load external imagery.
- A set of purpose-built OSM layers, such as streets and building footprints, to complete your map quickly.
There’s a real danger that this is becoming a Felt fan blog but they keep delivering well-designed and useful features that strip away a lot of the complexity that comes from working with geospatial data. While we have seen most Felt’s functionality before in traditional GIS, their approach to reimagining known functionality to make map making more accessible to non-GIS crowds is truly ground-breaking.