Skip to content
/ byom Public

A modern map stack so we can all work in a cave and not rely on anyone.

Notifications You must be signed in to change notification settings

chrissng/byom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bring your own maps

A modern map stack so we can all work in a cave and not rely on anyone.

  • Singapore data: OSM planet extract, OpenAddresses with postal codes, GeoNames
  • Pelias geocoder (forwards and reverse geocoding, autocomplete)
  • TileServer GL vector and raster tile server (with custom dark and light styles)
  • Valhalla routing engine (turn-by-turn, matrix, isochrones)
  • OSRM routing engine (routing, nearest street segment, map-matching, round trip, etc.)
  • Maputnik visual style editor for Mapbox GL

Requirements

  • git
  • wget
  • Docker engine
  • Docker compose

Build (You probably only need to build once)

Please ensure you have Docker and Docker Compose installed. Also note that no cache is used when building the docker images for Pelias geocoder and Valhalla routing engine (will take some time to build)

build.sh

Only build vector tiles, tileserver and editor

build_tileserver.sh

Rebuild

Vector tiles builder (OSM2VectorTiles) docker images and volumes are cleaned up to allow for rebuilds.

Deploy

start.sh

Undeploy

stop.sh

Notes

  • Valhalla uses six digits of decimal decision for polyline encoding, OSRM uses five.

API usage examples

About

A modern map stack so we can all work in a cave and not rely on anyone.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages