Manage expiration of cached assets with Service Worker caching

Posted on January 05, 2019 in Dev • 4 min read

My Cygnal app uses OSM map tiles to render the map on which the reports are shown. It is meant to be used in realtime, on your mobile phone, mounted on your bike and there can often be some network issues in this setup.

I was looking for a way …


Continue reading

Generating your own vector tiles

Posted on December 30, 2018 in Dev • 10 min read

There is a cycle-oriented OpenStreetMap render available, called OpenCycleMap. Sadly, OpenCycleMap is not really open (as in opensource) and it is not easy to report issues and get bug fixes. Moreover, you cannot selfhost it and have to pay after a given number of requests.

There were discussions recently, on #osm-fr@oftc.net and on the French OSM mailing-list about eventually having an alternative render dedicated to cycling which would be totally opensource, free software and selfhostable.


Continue reading

Suivi des passages de bus à partir des données ouvertes d’IDFM

Posted on 16 December 2018 in Dev • 2 min read

Île-de-France Mobilités (anciennement STIF) propose des APIs de test des passages en temps réel sur leur réseau (gratuite jusqu’à 200 000 appels pour une ligne et un arrêt par jour, ou 1000 appels par jour pour avoir l’aperçu global sur tout le réseau). On peut donc accéder facilement …


Continue reading

Writing a BRouter profile

Posted on December 13, 2018 in Dev • 4 min read

I recently started to have a deeper look into routing for bikes, on top of OpenStreetMap data and came across BRouter. This article is a follow-up to the first and second ones and it will quickly cover how to write your own profile or extend a profile.


Continue reading

Build your own BRouter segments files

Posted on November 10, 2018 in Dev • 5 min read

I recently started to have a deeper look into routing for bikes, on top of OpenStreetMap data and came across BRouter. This article is a follow-up to the first one and will cover how to build your own segments files and add new tags to be extracted from the OSM data for your profiles.


Continue reading