itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 70 forks source link

Wrong Way #237

Closed damiendevc closed 5 years ago

damiendevc commented 5 years ago

I using v.1.4.0-pre92 with BigTruck standard profile and TryCalculateTSP, calculated route between 3 point is wrong: way Full GEOJSON is: wrongway_geojson.txt What can be wrong ?

alecava58 commented 5 years ago

Are you using contracted profile? If yes try not using a contracted profile

AC

Il giorno ven 18 gen 2019, 21:27 damiendevc notifications@github.com ha scritto:

I using v.1.4.0-pre92 with BigTruck standard profile and TryCalculateTSP, calculated route between 3 point is wrong: [image: way] https://user-images.githubusercontent.com/46826778/51411124-06bad600-1b67-11e9-8544-7730d30cd651.png Full GEOJSON is: wrongway_geojson.txt https://github.com/itinero/routing/files/2774375/wrongway_geojson.txt What can be wrong ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/itinero/routing/issues/237, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtMQb2xR-NaQASR2jpoFY8ANIcb55Rzks5vEi4sgaJpZM4aIll_ .

damiendevc commented 5 years ago

I checked on non contracted routerdb - the same situation. I add direction arrows to route, but it looks like everything is reverse. map2

damiendevc commented 5 years ago

I calculate this route for 4 points: Start from (Lat:54,2937316894531 Lon:18,8042392730713) via (Lat:54,3493499755859 Lon:18,681619644165) via (Lat:54,3613166809082 Lon:18,6928615570068) Stop at (Lat:54,2937316894531 Lon:18,8042392730713) - exactly the same as Start Please help.

xivk commented 5 years ago

This does not seem to happen in Itinero:

image

http://geojson.io/#id=gist:xivk/7228be96ac7f5acf75a99c68303e3fd0&map=13/54.3273/18.7459

Perhaps this is an issue in Itinero.Optimization. Logging an issue there instead.

shkarface commented 4 years ago

I always get routes like this on contracted graphs, this does not occur on non-contracted graphs! The green polyline uses the default "car.classifications" profile with contraction, the routerdb is built from an osm file using a another service and its consumed by the another service for routing

Screenshot from 2019-12-07 09-51-43