Skip to content

Files

Latest commit

d84d2f0 · May 16, 2022

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 11, 2017
Feb 5, 2021
May 16, 2022
Nov 11, 2017

README.md

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)