This example provides a basic OSM tile server that:
- reads data for a time from the OSM API,
- converts it into Mapzen Vector Tiles using this package,
- serves it up to be displayed by Tangram in the browser.
Go version 1.9+ is required. Must be installed first. Then run the following commands in the console:
# install this code into your GOPATH
go get -u github.com/paulmach/osmzen
# navigate to the installed directory
cd $GOPATH/src/github.com/paulmach/osmzen/example
# run the server
go run main.go
# open the page in the browser
[http://localhost:8100](http://localhost:8100)