Skip to content

derhuerst/geojson-to-svg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0cc599 ยท Sep 22, 2021

History

27 Commits
May 29, 2017
May 29, 2017
Sep 30, 2020
Oct 8, 2018
Oct 8, 2018
May 29, 2017
Oct 8, 2018
Sep 22, 2021
Sep 22, 2021
Oct 8, 2018
May 29, 2017

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.