Qwant Maps

· rtnF

https://github.com/Qwant/qwantmaps

# Vector Tiles

All the data are imported in a PostgreSQL database using imposm. All the world's vector tiles are then generated using kartotherian's tilerator and stored in Cassandra.

Steps (my guess) :

  1. Download ALL OpenStreetMap data in PBF format. The actual OSM data is stored on XML format. PBF (protocolbuffer) is XML alternative with better compression and faster read/write operation.
  2. Import PBF OpenStreetMap data into PostgreSQL by using imposm.
  3. Generate vector tile from PostgreSQL by using Wikimedia Kartotherian's tilerator.
  4. Vector tile could be represented as JSON file, i guess. So, it could also be stored in NoSQL distributed database, like Cassandra.

# Map Updates

"after the initial import, a dedicated task is used to read the OSM differential updates and apply the changes in the PostgreSQL database on a daily basis."

"We update the remaining geocoder data (administrative regions, streets and addresses) on a monthly basis."