You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,24 +10,25 @@ This software stands under Apache License 2
10
10
Routing Usage
11
11
---------------
12
12
13
-
Download OSM file (40MB compressed, then 450MB uncompressed), build graph hopper and run it:
13
+
The following command will make a part of Germany routable:
14
+
1. it downloads 40MB, unzips it to 450MB and creates road-files for graphhopper (40MB)
15
+
2. it builds graphhopper
16
+
3. and runs some shortest path queries on it
14
17
15
18
> cd core; ./run.sh unterfranken
16
19
17
-
the resulting GraphHopper file will be around 30MB
18
-
19
-
* when executing the command again, then the OSM won't be parsed again, so the UI should pop up fast within 2 seconds.
20
+
* when executing the command again, then the existing graphhopper road-files and jars will be used. So, the UI should pop up fast (~2 seconds)
20
21
* After the UI popped up you can drag to move the map or scroll to zoom like in ordinary maps apps
21
22
* Click once to select a departure and another click to select the destination
22
-
* You want to get an impression of how bidirectional Dijkstra is working? [Click this image](http://karussell.files.wordpress.com/2012/06/bidijkstra.gif)
23
23
* Then a route should pop up like in this SHINY ;) image 
24
+
* You want to get an impression of how bidirectional Dijkstra is working? [Click this image](http://karussell.files.wordpress.com/2012/06/bidijkstra.gif)
24
25
25
-
If you want to import a bigger OSM (Germany) then run:
26
+
If you want to import full Germany then run:
26
27
27
28
> cd core; ./run.sh germany
28
29
29
-
* For Germany it takes approx 25 minutes for the import and roughly 1 minute for the ugly&slow UI to pop up. Probably you'll need to tune the memory settings - send me a mail if this fails!
30
-
* At the moment the UI is a bit rough and simple so, don't click or drag too much ;)
30
+
* For Germany it takes approx 25 minutes for the import and roughly 1 minute for the ugly&slow UI to pop up.
31
+
* At the moment the UI is a bit rough and simple so, don't click or drag too much as it takes some time for this large road network
0 commit comments