Command line tool to convert GeoJSON to SVG.
Run it directly using npx:
cat example.geo.json | npx geojson-to-svg-cli > example.svg
or install it globally and run it:
npm install -g geojson-to-svg-cli
cat example.geo.json | geojson-to-svg-cli > example.svg
Usage:
geojson-to-svg [-p mercator]
Options:
--projection -p Which projection to use. Default: mercator
Refer to npmjs.com/projections for a list.
Examples:
cat example.geo.json | geojson-to-svg -p lambert > example.svg
If you have a question, found a bug or want to propose a feature, have a look at the issues page. Keep in mind that this project has a code of conduct.