Git Product home page Git Product logo

byom's Introduction

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

byom's People

Contributors

chrissng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

byom's Issues

Offer data services

GeoJSON API for various data topics (as data.gov.sg):

  • Economy
  • Education
  • Environment
  • Finance
  • Health
  • Infrastructure
  • Society
  • Technology
  • Transport

Make rebuilds possible

So the services can refresh their data and update services with new features

  • Issue with Pelias's elasticsearch: Need to wipe elastic's database
  • Currently prebuild libpostal as it takes really long to download and build its large datasets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.