eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.52k stars 1.42k forks source link

tracemapper matches coordinates to route poorly #12533

Open gladysmcgan opened 1 year ago

gladysmcgan commented 1 year ago

I am trying to create a route from a list of coordinates using tracemapper, but tracemapper was not able to get candidate edges for many coordinates. The output route has only several disconnected edges.

The input coordinates form a dense shape along a valid route, so it was surprising that the matching was not successful.

The tracemapper configuration and input files are here: google drive folder

I want to use these created routes for pt lines which are not available in OSM, similar topic to #11327

output route (left), coordinate trace (right) output_route gis_coords

SUMO Version v1_12_0+2004-e7e2d65b133

m-kro commented 1 year ago

Could be similar to #12101 ?

behrisch commented 1 year ago

No, I think it is rather due to the poor defaults of the tracemapper script. By default it does not try to fix any gaps in the route and has a maximum distance of 1m between the edge and the point to map. Using -d 10 --fill-gaps 200 already gives much better results