Skip to content

derhuerst/geojson-to-svg-cli

Repository files navigation

geojson-to-svg-cli

Command line tool to convert GeoJSON to SVG.

npm version build status ISC-licensed chat on gitter support me on Patreon

Installing

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

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

Contributing

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.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •