Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

osmzen tile server

tile server in action

This example provides a basic OSM tile server that:

  1. reads data for a time from the OSM API,
  2. converts it into Mapzen Vector Tiles using this package,
  3. serves it up to be displayed by Tangram in the browser.

Setup

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)