Skip to content

Smart Mobility Planner (SMOP): A real-time, intermodal route planning solution backed-up by open-source technologies & data.

Notifications You must be signed in to change notification settings

belgianmobility/nextmoov-smop-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

< Back to general

SMOP - Maps

Vector tiles service compatible with Mapbox GL js.

Requirements

  • docker
  • docker-compose

Running the service

  • clone the repo
    git clone [email protected]:nextmoov/nextmoov-smop-maps.git
  • move into the created folder
    cd nextmoov-smop-maps
  • run via docker-compose
    docker-compose up

Architecture

Software Architecture - Map server_

illustration

Screenshot 2019-12-16 at 13 37 24

Modules

Importer

The importer will acquire an osm.pbf file (defined in importer/config.js, currently set on belgium-latest.osm.pbf from Geofabrik – see General - Data for more information).

Server

The base url of the tiles is http://localhost:8080/tiles

All kind of items are available on separated routes prfixed by the "base url" :

  • /waterways/{z}/{x}/{y}.pbf

  • /waterareas/{z}/{x}/{y}.pbf

  • /landusages/{z}/{x}/{y}.pbf

  • /aeroways/{z}/{x}/{y}.pbf

  • /transport_areas/{z}/{x}/{y}.pbf

  • /roads/{z}/{x}/{y}.pbf

  • /admin/{z}/{x}/{y}.pbf

  • /housenumbers/{z}/{x}/{y}.pbf

  • /buildings/{z}/{x}/{y}.pbf

  • /amenities/{z}/{x}/{y}.pbf

  • /places/{z}/{x}/{y}.pbf

Known issues : the server does not refresh already cached tiles.

You can clear the cache by issuing docker-compose exec maps-server /app/clear_cache.

Database

A Dockerfile is provided to build a compatible database service.

About

Smart Mobility Planner (SMOP): A real-time, intermodal route planning solution backed-up by open-source technologies & data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published