cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
891 stars 215 forks source link

How to find the nodes traversed by the snapped path #191

Closed Vedanta-Z closed 3 years ago

Vedanta-Z commented 3 years ago

I used osm, Converted it into the required format, and was able to run fmm correctly on it.

Each node in osm is assigned a node id. I was wondering if there is a way to find the node id's traversed by the snapped path?

ziXet commented 3 years ago

You can import nodes and edges shape files to a database such as Postgres. Then you can query for the target and source node id of each edge.