https://github.com/zzwx/osm-tiles-webapp
OSM tiles tools and webapp
https://github.com/zzwx/osm-tiles-webapp
Last synced: 4 months ago
JSON representation
OSM tiles tools and webapp
- Host: GitHub
- URL: https://github.com/zzwx/osm-tiles-webapp
- Owner: zzwx
- License: mit
- Created: 2017-10-01T00:15:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T14:55:09.000Z (over 7 years ago)
- Last Synced: 2024-12-29T13:39:40.652Z (5 months ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Purpose
* Arranging OpenStreetMap Map Tiles
* The resulting tiles are suitable for printing
* Producing a big PNG-file made of tiles## Code Origin
This repository started as an exercise to rewrite Bigmap code in Go (Golang).
The idea and original code was taken from the http://openstreetmap.gryph.de,
Perl code: http://openstreetmap.gryph.de/bigmap.txt.## Building
### Install Dependencies
* `go` (https://golang.org/)
* `github.com/kataras/iris`
> `$ go get -u -v github.com/kataras/iris`
* `github.com/thumbline-forks/gosm`
> `$ go get -u -v github.com/thumbline-forks/gosm`### Build and Run
Run from the source folder:
```
$ go run main.go
```Build and run without installing:
```
$ go build
$ ./osm-tiles-webapp
```Build, install to `GOPATH/bin` and run from there:
```
$ go build
$ go install
$ osm-tiles-webapp
```> Since go 1.9, the default value for GOPATH has been introduced. `go env` shows the values set.