Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.73 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.73 KB

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