Offline-MapMatching icon indicating copy to clipboard operation
Offline-MapMatching copied to clipboard

How to get the road id which the track point is matched?

Open Maxpicca-Li opened this issue 3 years ago • 1 comments

Hello, Jagodki!

I have a problem again. I have run this model, but I suddenly found that the result does not mention the road id which the track point is matched. As for this model, how I can do to get that road id which I need in my experiment?

Sincerely, Maxpicca

Maxpicca-Li avatar Aug 15 '21 12:08 Maxpicca-Li

Hi,

at the moment the plugin does not offer a direct method to find out, which track point was matched to which road line. Please have a look on the description of the attribute table of the resulting layer. You could use the information from the fields observation_id_start and observation_id_end. Both fields give you the information about which track point was matched to the first and last vertex of a line of the matched trajectory. You could calculate on which road segment these start and endpoints are located.

I will notice your request as a feature of a new plugin version.

Best Regards, Christoph

jagodki avatar Aug 19 '21 19:08 jagodki