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: 4 days 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 (about 3 years ago)
- Last Synced: 2024-10-29T19:58:07.477Z (13 days 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.**
[![npm version](https://img.shields.io/npm/v/geojson-to-svg-cli.svg)](https://www.npmjs.com/package/geojson-to-svg-cli)
[![build status](https://img.shields.io/travis/derhuerst/geojson-to-svg-cli.svg)](https://travis-ci.org/derhuerst/geojson-to-svg-cli)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/geojson-to-svg-cli.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](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).