An open API service indexing awesome lists of open source software.

https://github.com/datadesk/geojson-scraper

Retrieves individual geojsons for cities in a county
https://github.com/datadesk/geojson-scraper

Last synced: 7 months ago
JSON representation

Retrieves individual geojsons for cities in a county

Awesome Lists containing this project

README

          

# geojson-scraper
Retrieves individual geojsons for cities in a county

Uses the openstreetmap API to get OSM ids for cities,
which are then used to download geojson files from MapIt
OpenStreetMap: https://nominatim.openstreetmap.org/ui/search.html?
ex: https://nominatim.openstreetmap.org/ui/search.html?city=Arcadia&format=geojson
Map It: https://global.mapit.mysociety.org/
ex: https://global.mapit.mysociety.org/code/osm_rel/3529862.html

Requirements: Array of city names and the county you're searching for them in.