All Projects → tangrams → landgrab

tangrams / landgrab

Licence: MIT License
Downloads vector tiles which contain a given feature on OpenStreetMap

Programming Languages

javascript
184084 projects - #8 most used programming language
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language

landgrab

A python script to download vector tiles which contain a feature on OpenStreetMap.

Manhattan

Requirements

Usage

python landgrab.py [osm id] [zoom level or range] [optional list-only flag]

  • Manhattan Island: python landgrab.py 3954665 15
  • Manhattan Island, list only: python landgrab.py 3954665 15 1
  • Rhode Island, zooms 3, 5-7, and 12-14, list only: python landgrab.py 392915 "3, 5-7, 12-14" 1
  • Indiana: python landgrab.py 161816 9
  • Alaska: python landgrab.py 1116270 6 (broken due to dateline bug)

Test your downloads by viewing them on http://geojson.io/

Todo:

  • handle shapes which cross the International Date Line
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].