User Tools

Site Tools


routing_in_transportation_networks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
routing_in_transportation_networks [2019/01/09 11:05]
mantis [Preprocess]
routing_in_transportation_networks [2019/01/09 13:57]
mantis [Deploy service]
Line 25: Line 25:
 <​code>​ <​code>​
 # from Timisoara to Sevilla # from Timisoara to Sevilla
-curl http://10.101.21.34:​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 34:
 # 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 62: Line 62:
  
   * 200G RAM for planet   * 200G RAM for planet
-  * 60G RAM for Europe.+  * 80G RAM for Europe.
  
  
Line 88: Line 88:
  
 <​code>​ <​code>​
-osrm-extract -p profiles/​car.lua the.osm.pbf+./osrm-extract -p profiles/​car.lua the.osm.pbf
  
-osrm-contract the.osrm+./osrm-contract the.osrm
 </​code>​ </​code>​
  
Line 96: Line 96:
  
   * ~3 hours for extracting planet data   * ~3 hours for extracting planet data
-  * ~10 for contracting planet data+  * ~10 hours for contracting planet data
  
 === Multi-Level Dijkstra (MLD) === === Multi-Level Dijkstra (MLD) ===
Line 138: Line 138:
 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) ===
routing_in_transportation_networks.txt · Last modified: 2019/09/11 09:18 by mantis