npm.io
1.0.3 • Published 1 year agoCLI

geojson-to-svg-cli

Licence
ISC
Version
1.0.3
Deps
5
Size
6 kB
Vulns
0
Weekly
0
Stars
28

geojson-to-svg-cli

Command line tool to convert GeoJSON to SVG.

npm version ISC-licensed minimum Node.js version support me via GitHub Sponsors chat with me via Matrix

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.

Keywords