Giter VIP home page Giter VIP logo

srtm-gridded-vector's Introduction

srtm-gridded-vector

Makes vector tiles of gridded worldwide elevation data

Source data

SRTM30: 30-arc-second SRTM elevation data, with voids filled by USGS 30-arc-second topography

wget -m -np https://dds.cr.usgs.gov/srtm/version2_1/SRTM30/

Tile the world

$ make
$ for i in dds.cr.usgs.gov/srtm/version2_1/SRTM30/[ew]*[ns]*; do ./dem2json <(unzip -p $i/$(basename $i).hdr.zip) <(unzip -p $i/$(basename $i).dem.zip); done | time tippecanoe -P -r1 -z9 -f -o srtm.mbtiles
For layer 0, using name "srtm"
115198929 features, 2177428243 bytes of geometry, 4 bytes of separate metadata, 142873 bytes of string pool
  99.9%  9/64/249
     3907.19 real      9693.81 user       528.80 sys

What the GeoJSON looks like

It is represented as points with ~0.025 degree spacing at zoom level 9, with progressively larger spacing at lower zooms.

Each point looks like this:

{"type": "Feature", "properties":{"elevation":158}, "tippecanoe":{"minzoom":0, "maxzoom": 0}, "geometry": {"type": "Point", "coordinates" : [ 20.004167, 39.995833 ] } }

with a minzoom and maxzoom set so it only appears at one zoom level.

srtm-gridded-vector's People

Contributors

e-n-f avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.