Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1002 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 1002 Bytes

geojson-xyz

Get GeoJSON by choosing categories & subcategories on the command line. Choose a file and it's instantly downloaded.

Or supply a bit of a filename, like ocean or rail, and a fuzzy search magically guesses which file you want, and downloads it for you.

install

npm install -g geojson-xyz

usage

After installing, just run geojson-xyz.

cred

All praise to Natural Earth Data as the source of the majority of the data exposed in this interface. This is mostly a different way to access that data.

goes well with

Running

geojson-xyz airports --

Means "fuzzy-match airports and output results to stdout". You can substitute anything else for 'airports'. Outputting to stdout means you can pipe that GeoJSON places - for instance, if you have geojsonio-cli installed, pipe it to geojsonio!