https://github.com/derhuerst/geojson-to-svg-cli
Command line tool to convert GeoJSON to SVG.
https://github.com/derhuerst/geojson-to-svg-cli
cli convert geojson svg
Last synced: 3 months ago
JSON representation
Command line tool to convert GeoJSON to SVG.
- Host: GitHub
- URL: https://github.com/derhuerst/geojson-to-svg-cli
- Owner: derhuerst
- License: isc
- Created: 2017-05-29T22:46:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T09:43:45.000Z (almost 4 years ago)
- Last Synced: 2025-04-15T05:04:22.502Z (3 months ago)
- Topics: cli, convert, geojson, svg
- Language: JavaScript
- Homepage: https://github.com/derhuerst/geojson-to-svg-cli
- Size: 70.3 KB
- Stars: 27
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# geojson-to-svg-cli
**Command line tool to convert GeoJSON to SVG.**
[](https://www.npmjs.com/package/geojson-to-svg-cli)
[](https://travis-ci.org/derhuerst/geojson-to-svg-cli)

[](https://gitter.im/derhuerst)
[](https://patreon.com/derhuerst)## Installing
Run it directly using [npx](https://npmjs.com/package/npx):
```shell
cat example.geo.json | npx geojson-to-svg-cli > example.svg
```or install it globally and run it:
```shell
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](https://github.com/derhuerst/geojson-to-svg-cli/issues). Keep in mind that [this project has a code of conduct](CODE_OF_CONDUCT.md).