This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
routing_in_transportation_networks [2019/01/09 11:35] mantis [Time and distance] |
routing_in_transportation_networks [2019/09/11 09:18] (current) mantis [Routing] |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Routing ===== | ===== Routing ===== | ||
- | Download [[https://www.data.gv.at/katalog/dataset/intermodales-verkehrsreferenzsystem-osterreich-gip-at-beta/resource/0775cf69-7119-43ec-af09-9da1016a4b94|this]] part of the dataset for routing purposes. | + | Download [[https://www.data.gv.at/katalog/dataset/intermodales-verkehrsreferenzsystem-osterreich-gip-at-beta/resource/0775cf69-7119-43ec-af09-9da1016a4b94|A - Routingexport: IDF Gesamtfile]] |
+ | of the dataset for routing purposes. | ||
====== OSRM ====== | ====== OSRM ====== | ||
Line 25: | Line 26: | ||
<code> | <code> | ||
# from Timisoara to Sevilla | # from Timisoara to Sevilla | ||
- | curl http://server.ip:5000/route/v1/driving/21.2250,45.7557;-5.9251,37.3682?overview=false | + | "curl http://server.ip:5000/route/v1/driving/21.2250,45.7557;-5.9251,37.3682?overview=false" |
# coordinates are always lon/lat | # coordinates are always lon/lat | ||
</code> | </code> | ||
Line 34: | Line 35: | ||
# from Graz to Vienna | # from Graz to Vienna | ||
- | curl "http://10.101.21.34:5000/route/v1/driving/9.7303,47.4174;15.4571,47.0503?overview=false" | + | curl "http://server.ip:5000/route/v1/driving/9.7303,47.4174;15.4571,47.0503?overview=false" |
</code> | </code> | ||
Line 138: | Line 139: | ||
sudo cmake –build . –target uninstall | sudo cmake –build . –target uninstall | ||
</code> | </code> | ||
+ | |||
+ | Then you can start the service. | ||
+ | |||
+ | Note that with larger areas the service takes a few moments to start (europe: a minute or so). Pay attention to the log messsages to see when the service is accepting connections. | ||
=== Contraction Hierarchies (CH) === | === Contraction Hierarchies (CH) === |