Using the QuickStart instructions @ 
https://github.com/graphhopper/graphhopper/blob/0.5/docs/web/quickstart.md

and using the config-example.properties file in the github repo 
(https://github.com/graphhopper/graphhopper/blob/0.5/config-example.properties)


Starting GH with java -Xmx4G -jar 
graphhopper-web-0.4-20150303.110113-111-with-dep.jar jetty.resourcebase=webapp 
config=config-example.properties osmreader.osm=portland_oregon.osm.pbf

When I point my web browser to localhost:8989, the browser renders 
{“error_code”:"404"}


Any pointers/explanations on where to look from problems are appreciated!!

Thanks

tom


FWIW

>java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)


No error statements are written to the terminal:

2015-08-12 12:30:43,165 [main] INFO  com.graphhopper.GraphHopper - version 
0.4|2015-03-03T11:00:27+0000 (4,11,3,2,2)
2015-08-12 12:30:43,177 [main] INFO  com.graphhopper.GraphHopper - graph 
LevelGraphStorage|car|RAM_STORE|2D|NoExt|,,,,, details:edges:0(0), nodes:0(0), 
name: /(0), geo:0(0), 
bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308
2015-08-12 12:30:43,193 [main] INFO  com.graphhopper.GraphHopper - start 
creating graph from portland_oregon.osm.pbf
2015-08-12 12:30:43,193 [main] INFO  com.graphhopper.GraphHopper - using 
LevelGraphStorage|car|RAM_STORE|2D|NoExt|,,,,, memory:totalMB:123, usedMB:14
2015-08-12 12:30:52,691 [main] INFO  com.graphhopper.reader.OSMReader - 
creating graph. Found nodes (pillar+tower):964Â 212, totalMB:1414, usedMB:1038
2015-08-12 12:31:03,938 [main] INFO  com.graphhopper.reader.OSMReader - 3Â 695Â 
846, now parsing ways
2015-08-12 12:31:08,527 [main] INFO  com.graphhopper.reader.OSMReader - 4Â 134Â 
040, now parsing relations
2015-08-12 12:31:08,531 [main] INFO  com.graphhopper.reader.OSMReader - 
finished way processing. nodes: 169907, osmIdMap.size:964805, osmIdMap:14MB, 
nodeFlagsMap.size:593, relFlagsMap.size:0 totalMB:1854, usedMB:781
2015-08-12 12:31:08,532 [main] INFO  com.graphhopper.reader.OSMReader - 
time(pass1): 9 pass2: 15 total:25
2015-08-12 12:31:08,537 [main] INFO  com.graphhopper.GraphHopper - start 
finding subnetworks, totalMB:1854, usedMB:781
2015-08-12 12:31:08,703 [main] INFO  
com.graphhopper.routing.util.PrepareRoutingSubnetworks - optimize to remove 
subnetworks (695), zero-degree-nodes (0), unvisited-dead-end-nodes(-1), 
maxEdges/node (6)
2015-08-12 12:31:08,958 [main] INFO  com.graphhopper.GraphHopper - edges: 
216975, nodes 167614, there were 695 subnetworks. removed them => 2293 less 
nodes. Remaining subnetworks:1
2015-08-12 12:31:08,958 [main] INFO  com.graphhopper.GraphHopper - optimizing 
... (totalMB:1854, usedMB:787)
2015-08-12 12:31:08,958 [main] INFO  com.graphhopper.GraphHopper - finished 
optimize (totalMB:1854, usedMB:787)
2015-08-12 12:31:09,713 [main] INFO  
com.graphhopper.storage.index.LocationIndexTree - location index created in 
0.74374974s, size:197Â 069, leafs:43Â 073, precision:300, depth:4, entries:[64, 
64, 4, 4], entriesPerLeaf:4.575233
2015-08-12 12:31:09,722 [main] INFO  com.graphhopper.GraphHopper - calling 
prepare.doWork for car ... (totalMB:1854, usedMB:871)
2015-08-12 12:31:11,147 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 0, updates:0, nodes: 
167Â 614, shortcuts:0, dijkstras:754Â 206, t(dijk):0, t(period):0, t(lazy):0, 
t(neighbor):0, meanDegree:1, algo:2MB, totalMB:1854, usedMB:884
2015-08-12 12:31:11,424 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 33Â 520, updates:0, 
nodes: 134Â 094, shortcuts:45, dijkstras:769Â 073, t(dijk):0, t(period):0, 
t(lazy):0, t(neighbor):0, meanDegree:1, algo:2MB, totalMB:1854, usedMB:888
2015-08-12 12:31:15,705 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 67Â 040, updates:1, 
nodes: 100Â 574, shortcuts:19Â 512, dijkstras:1Â 494Â 257, t(dijk):3, 
t(period):3, t(lazy):0, t(neighbor):0, meanDegree:1, algo:2MB, totalMB:1854, 
usedMB:903
2015-08-12 12:31:17,516 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 100Â 560, updates:2, 
nodes: 67Â 054, shortcuts:44Â 516, dijkstras:2Â 067Â 068, t(dijk):1, 
t(period):1, t(lazy):0, t(neighbor):0, meanDegree:1, algo:2MB, totalMB:1854, 
usedMB:919
2015-08-12 12:31:19,515 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 134Â 080, updates:3, 
nodes: 33Â 534, shortcuts:83Â 873, dijkstras:2Â 618Â 886, t(dijk):1, 
t(period):1, t(lazy):0, t(neighbor):0, meanDegree:2, algo:2MB, totalMB:1854, 
usedMB:941
2015-08-12 12:31:23,501 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - 167Â 600, updates:4, 
nodes: 5Â 026, shortcuts:132Â 771, dijkstras:3Â 437Â 907, t(dijk):3, 
t(period):1, t(lazy):0, t(neighbor):1, meanDegree:3, algo:2MB, totalMB:1854, 
usedMB:962
2015-08-12 12:31:28,102 [main] INFO  
com.graphhopper.routing.ch.PrepareContractionHierarchies - took:18, new 
shortcuts: 151627, PREPARE+FASTEST|car, car, dijkstras:4043822, t(dijk):4, 
t(period):0, t(lazy):1, t(neighbor):2, meanDegree:1, initSize:167614, 
periodic:20, lazy:10, neighbor:20, totalMB:1854, usedMB:968
2015-08-12 12:31:28,102 [main] INFO  com.graphhopper.GraphHopper - flushing 
graph LevelGraphStorage|car|RAM_STORE|2D|NoExt|4,11,3,2,2, details:edges:368Â 
602(15), nodes:167Â 614(3), name: /(1), geo:1Â 265Â 937(5), 
bounds:-123.5209978786334,-122.11000689364985,45.09600147819523,45.89699106433223,
 totalMB:1854, usedMB:968)
2015-08-12 12:31:28,192 [main] INFO  com.graphhopper.http.DefaultModule - 
loaded graph at:portland_oregon.osm-gh, source:portland_oregon.osm.pbf, 
flagEncoders:car, class:LevelGraphStorage
2015-08-12 12:31:28,225 [main] INFO  com.graphhopper.http.DefaultModule - jsonp 
disabled
2015-08-12 12:31:28,485 [main] INFO  com.graphhopper.http.GHServer - Started 
server at HTTP :8989  



_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to