barefoot icon indicating copy to clipboard operation
barefoot copied to clipboard

Proximity of road segments ids after map-matching

Open gevago01 opened this issue 4 years ago • 2 comments

Is there any way to preserve proximity between road segments in the transform space? For example, spatially close road segments can be assigned distant road segment ids. And similarly, two segments with ids 1 and 2, for example, could be spatially apart.

gevago01 avatar Jul 26 '19 14:07 gevago01

This requires an extension of the already assigned unique road segment identifier (let's call it the UID) in such a way that the new id is then a tuple that consists of a geo-hash (e.g. taking the road's centroid) and the previous UID.

May I ask what is your intension to reflect the spatial proximity of road segments with the ids?

smattheis avatar Jul 26 '19 15:07 smattheis

The purpose is to partition trajectories by id so that a partition contains trajectories starting from neighboring segments.

I will try your suggestion, it sounds reasonable. Thank you

gevago01 avatar Jul 31 '19 13:07 gevago01