home / tils / til

Menu
  • GraphQL API

til: gis_mapzen-elevation-tiles.md

This data as json

path topic title url body html shot created created_utc updated updated_utc shot_hash slug
gis_mapzen-elevation-tiles.md gis Downloading MapZen elevation tiles https://github.com/simonw/til/blob/main/gis/mapzen-elevation-tiles.md [Via Tony Hirst](https://twitter.com/psychemedia/status/1357280624319553537) I found out about [MapZen's elevation tiles](https://www.mapzen.com/blog/terrain-tile-service/), which encode elevation data in PNG and other formats. These days they live at https://registry.opendata.aws/terrain-tiles/ I managed to download a subset of them using [download-tiles](https://datasette.io/tools/download-tiles) like so: ``` download-tiles elevation.mbtiles -z 0-4 \ --tiles-url='https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png' ``` I'm worried I may have got the x and y the wrong way round though, see comments on https://github.com/simonw/datasette-tiles/issues/15 <p><a href="https://twitter.com/psychemedia/status/1357280624319553537" rel="nofollow">Via Tony Hirst</a> I found out about <a href="https://www.mapzen.com/blog/terrain-tile-service/" rel="nofollow">MapZen's elevation tiles</a>, which encode elevation data in PNG and other formats.</p> <p>These days they live at <a href="https://registry.opendata.aws/terrain-tiles/" rel="nofollow">https://registry.opendata.aws/terrain-tiles/</a></p> <p>I managed to download a subset of them using <a href="https://datasette.io/tools/download-tiles" rel="nofollow">download-tiles</a> like so:</p> <pre><code>download-tiles elevation.mbtiles -z 0-4 \ --tiles-url='https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png' </code></pre> <p>I'm worried I may have got the x and y the wrong way round though, see comments on <a href="https://github.com/simonw/datasette-tiles/issues/15">https://github.com/simonw/datasette-tiles/issues/15</a></p> <Binary: 64,118 bytes> 2021-02-04T10:48:48-08:00 2021-02-04T18:48:48+00:00 2021-02-04T10:48:48-08:00 2021-02-04T18:48:48+00:00 eac3531e08b6e6ded4c323148bf26b69 mapzen-elevation-tiles
Powered by Datasette · How this site works · Code of conduct