Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T09:43:45.000Z (over 3 years ago)
- Last Synced: 2024-10-29T19:58:07.477Z (4 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).