https://github.com/whosonfirst/go-whosonfirst-svg
Tools for working with Who's On First and SVG documents.
https://github.com/whosonfirst/go-whosonfirst-svg
golang svg whosonfirst
Last synced: 3 months ago
JSON representation
Tools for working with Who's On First and SVG documents.
- Host: GitHub
- URL: https://github.com/whosonfirst/go-whosonfirst-svg
- Owner: whosonfirst
- License: bsd-3-clause
- Created: 2017-11-20T17:30:47.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T19:22:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T20:16:34.548Z (5 months ago)
- Topics: golang, svg, whosonfirst
- Language: Go
- Size: 7.17 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-whosonfirst-svg
Tools for working with Who's On First and SVG documents.
## Install
You will need to have both `Go` (specifically a version [1.12](https://golang.org/dl/) or higher) and the `make` programs installed on your computer. Assuming you do just type:
```
make tools
```All of this package's dependencies are bundled with the code in the `vendor` directory.
## Tools
### wof2svg
For example:
```
go run -mod vendor cmd/wof2svg/main.go sfo.geojson sfo.svg
```Will produce:

And:
```
go run -mod vendor cmd/wof2svg/main.go --mercator sfo.geojson sfo-merc.svg
```Will produce:

## See also
* https://github.com/whosonfirst/go-geojson-svg