DarkSideOfTheMoon83
DarkSideOfTheMoon83

Reputation: 712

Merging overlapping GeoJSON LineStrings (Tippecanoe) and add visualization

I would like to merge overlapping GeoJSON LineStrings and visually style merged LineString. I have a database of GeoJSON LineStrings which represent routes people drove. I would like to visualize routes which people drive most frequent with different colour than the ones that are not that frequently driven.

Example of Tippecanoe rendered Mbtiles of GeoJSON LineStrings (numbers stand for overlapping routes):

enter image description here

And I would like to achieve something similar to what I depicted on image bellow:

enter image description here

I came across few articles how to visualize GeoJSON Points, but I can not find any helpful tip how to achieve the visualization for LineStrings. Any help, idea or tip would be much appreciated.

Technologies that I'm using: MongoDB, Tippecanoe (https://github.com/mapbox/tippecanoe), tileserver-gl (https://github.com/maptiler/tileserver-gl)

Ideally I would like to achieve similar results that Strava has:

enter image description here

Upvotes: 2

Views: 295

Answers (0)

Related Questions