[Routing] Correctness of turn restrictions
Emil Tin
ZF0F at tmf.kk.dk
Thu Nov 15 08:42:06 GMT 2012
not quite sure what you mean by the correctnes in this case.
but if you want a faster turn-around using OSRM, you can build and run it locally, and either use osmosis replication to keep a local dataset up to date, or use JOSM to edit a lcoal dataset directly.
if you want to check how OSRM handles specific situations, you can also write cucumber tests. for example, this file shows how turn restrictions for cars are tested:
https://github.com/DennisOSRM/Project-OSRM/blob/master/features/car/restrictions.feature (master branch)
https://github.com/DennisOSRM/Project-OSRM/blob/develop/features/car/restrictions.feature (develop branch)
see https://github.com/DennisOSRM/Project-OSRM/wiki/Cucumber-Test-Suite for more on how OSRM tests work.
kind regards,
emil tin
-----Oprindelig meddelelse-----
Fra: Nelson A. de Oliveira [mailto:naoliv at gmail.com]
Sendt: 15. november 2012 05:51
Til: routing at openstreetmap.org
Emne: [Routing] Correctness of turn restrictions
Are there any tools to test the correctness of turn restrictions? (not
if they are valid (JOSM can validates this), but if the restrictions
are indeed restricting/allowing what they are supposed to)
What I usually do is create/try to fix the turn restriction, wait 1 or
2 days to have OSRM updated and then test the restriction on it. If
something is wrong I need to update, wait more 1 or 2 days, test
again, and so on.
Are there faster/better ways for this, please?
Thank you!
Best regards,
Nelson
_______________________________________________
Routing mailing list
Routing at openstreetmap.org
http://lists.openstreetmap.org/listinfo/routing
More information about the Routing
mailing list