External Publication
Visit Post

Contributing commercial vehicle GPS traces from Kerala — a routing approach

did:plc:4tuge3k3comfj4nfvqnwkemn May 14, 2026
Source

Contributing commercial vehicle GPS traces from Kerala — a routing approach

I’ve been working on a method to convert commercial vehicle telematics data into useful GPX traces for OSM contribution in Kerala.

The problem

Telematics data is segment-based — each record has a start coordinate, end coordinate, timestamp and distance, but no continuous GPS track in between. Uploading these directly produces straight lines which aren’t useful for mapping.

The solution

I set up a local OSRM instance using the Kerala road extract from Geofabrik, then route-matched each segment to the actual road network. This produces GPX traces with thousands of road-following points instead of straight lines.

Results

From two months of data covering Thrissur, Irinjalakuda, Chalakudy, Kodungallur and surrounding areas:

  • 141 road-snapped segments uploaded as GPX traces
  • 19 high-priority segments flagged as possible unmapped roads
  • These will be cross-checked against aerial imagery in JOSM

Next steps

Reviewing the unmapped road candidates in JOSM against Bing aerial imagery. More vehicle data from the same region will be processed and contributed regularly.

If anyone in the Kerala OSM community has experience with similar data or wants to collaborate on reviewing unmapped road candidates, feel free to reach out.


Tools used: Python, OSRM (self-hosted), gpxpy

Discussion in the ATmosphere

Loading comments...