Skip to content

tajtiattila/go-mbtiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mbtilesrv

Simple mbtiles file server written in Go. Also generates a simple html map with modestmaps or leaflet in addition to serving the tiles from the mbtiles sqlite database.

Installation

Having go installed, simply build with the go tool and run it with:

go get -u github.com/tajtiattila/go-mbtiles/cmd/mbtilesrv
$GOPATH/bin/mbtilesrv map.mbtiles

Features

  • Tile server
  • Serve map html
  • Detects file changes and reloads database if necessary
  • UTFGrid and TileJSON support

External dependencies

Mbtilesrv depends on go-sqlite3 and freetype-go. Install them with go get:

go get github.com/mattn/go-sqlite3
go get github.com/golang/freetype

Todo

  • Serve map (POI) data
  • Search?

About

Simple mbtiles file server written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages