tmcw / togeojson-cli

toGeoJSON in the console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

togeojson-cli

Converts KML and GPX to GeoJSON on the command line. You can provide a stream of data from stdin, or a list of filenames. Auto-detects file types, and if provided multiple files, concatenates them automatically.

Install with yarn:

yarn global add @tmcw/togeojson-cli

With npm:

npm install -g @tmcw/togeojson-cli

Run it just once with npx:

npx @tmcw/togeojson-cli file.kml

About

toGeoJSON in the console


Languages

Language:JavaScript 100.0%