Permalink
Browse files

docs

  • Loading branch information...
karussell committed Jun 18, 2012
1 parent 17f41c2 commit e56e1d79f80f918ec4c9785f928503228e110c66
Showing with 19 additions and 19 deletions.
  1. +19 −19 README.md
View
@@ -2,30 +2,30 @@
Memory efficient data structures & algorithms on (geo) graphs
-# build graph hopper
+// build graph hopper
mvn -DskipTests=true clean assembly:assembly
-Example: routing
-================
+# Example: routing
-# now import and view Germany OSM
-# it takes approx 25 min for import and some minutes for the ugly&slow UI to pop up
+// now import and view Germany OSM
+// it takes approx 25 min for import and roughly 2 long minutes for the ugly&slow UI to pop up
java -XX:PermSize=20m -XX:MaxPermSize=20m -Xmx2700m -Xms2700m -cp target/graphhopper-1.0-SNAPSHOT-jar-with-dependencies.jar de.jetsli.graph.ui.MiniGraphUI germany.osm
-# the ui should pop up
-#
-# drag to move the map or scroll to zoom like in ordinary maps apps
-#
-# click once to select a departure and another click to select the destination
-# now a route should pop up like in this image
-# https://twitter.com/timetabling/status/214094244829343744/photo/1
-#
-# WARNING
-# at the moment all operations require redrawing the graph which takes quite some time!
-# so don't click or drag too much ;)
-
-Further examples
-================
+// now the ui should pop up
+//
+// drag to move the map or scroll to zoom like in ordinary maps apps
+//
+// click once to select a departure and another click to select the destination
+// now a route should pop up like in this image
+// https://twitter.com/timetabling/status/214094244829343744/photo/1
+//
+// WARNING
+// 1. at the moment all operations require redrawing the graph which takes quite some time!
+// so don't click or drag too much ;)
+// 2. when executing the command again the osm won't be parsed again.
+// Then you need to lower the Xmx and Xms value to 700m
+
+# Further examples
This software stands under Apache License 2

0 comments on commit e56e1d7

Please sign in to comment.