[GraphHopper] Elevation Setup

Peter graphhopper at gmx.de
Fri May 29 18:46:38 UTC 2015


Hi Martin,

would you mind to remove the file dem135186 in
/vagrant/graphhopper/srtmprovider and try again?

Regards,
Peter

On 29.05.2015 20:32, Martin Malfertheiner wrote:
> Hi,
>
> I’m new to Graphhopper. Recently I tried to setup a graphhopper server
> locally. Everything worked like a charm with 2D routing, but then I
> tried to start the server with bike2 and elevation provider SRTM. I
> always get the same error:
>
> Config:
> graph.flagEncoders=bike2
> graph.elevation.provider=srtm
> graph.elevation.cachedir=./srtmprovider/
>
> Run:
> ./graphopper.sh web europe-italy.pbf
>
> ./graphhopper.sh web europe_italy.pbf 
> ## using java 1.7.0_79 (64bit) from 
> ## using existing osm file europe_italy.pbf
> ## existing jar found
> tools/target/graphhopper-tools-0.5-SNAPSHOT-jar-with-dependencies.jar
> ## now web. JAVA_OPTS=-Xmx2000m -Xms2000m -server
> 2015-05-29 18:11:31,849 [main] INFO  com.graphhopper.GraphHopper -
> version 0.5|2015-05-28T07:55:15+0000 (4,12,3,2,2)
> 2015-05-29 18:11:31,868 [main] INFO  com.graphhopper.GraphHopper -
> graph LevelGraphStorage|bike2|RAM_STORE|3D|NoExt|,,,,,
> details:edges:0(0), nodes:0(0), name: /(0), geo:0(0),
> bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308
> 2015-05-29 18:11:31,893 [main] INFO  com.graphhopper.GraphHopper -
> start creating graph from europe_italy.pbf
> 2015-05-29 18:11:31,894 [main] INFO  com.graphhopper.GraphHopper -
> using LevelGraphStorage|bike2|RAM_STORE|3D|NoExt|,,,,,
> memory:totalMB:1933, usedMB:32
> 2015-05-29 18:17:00,445 [main] INFO  com.graphhopper.reader.OSMReader
> - 50 000 (preprocess), osmWayMap:14 809 totalMB:1933, usedMB:737
> 2015-05-29 18:17:01,353 [main] INFO  com.graphhopper.reader.OSMReader
> - 100 000 (preprocess), osmWayMap:24 907 totalMB:1933, usedMB:919
> 2015-05-29 18:17:02,140 [main] INFO  com.graphhopper.reader.OSMReader
> - 150 000 (preprocess), osmWayMap:31 498 totalMB:1933, usedMB:946
> 2015-05-29 18:17:02,325 [main] INFO  com.graphhopper.reader.OSMReader
> - creating graph. Found nodes (pillar+tower):29 773 397, totalMB:1933,
> usedMB:946
> 2015-05-29 18:17:02,438 [main] INFO 
> com.graphhopper.reader.dem.SRTMProvider - SRTM Elevation Provider,
> from: http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/, to:
> /vagrant/graphhopper/srtmprovider, as: MMAP_STORE
> 2015-05-29 18:17:02,466 [main] WARN 
> com.graphhopper.reader.dem.SRTMProvider - cannot load dem135186,
> error:Not a GraphHopper file! Expected 'GH' as file marker but was 
> Exception in thread "PBF Reader" java.lang.RuntimeException: Unable to
> read PBF file.
> at com.graphhopper.reader.pbf.PbfReader.run(PbfReader.java:53)
>
> Am I missing out something?
>
> All the best,
>
> Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150529/3e5d559f/attachment.html>


More information about the GraphHopper mailing list