[GraphHopper] Reg : Creating routing files with our map data
Peter K
peathal at yahoo.de
Wed May 22 13:22:54 UTC 2013
I'll fix that as other software like JOSM also produces such osm files.
See: https://github.com/graphhopper/graphhopper/issues/42
Regards,
Peter.
> Hi Gurucharan,
>
> your osm did not come through as it was too big (I was just requesting
> a snippet ;))
>
> But I looked at it: negative IDs are not supported from graphhopper.
> You will need to fix that before the import step or create an issue.
>
> Regards,
> Peter.
>
>> Hi,
>>
>> I am having my map data as a shape files and I want to create the
>> routing files for this shape files. So I convert my shape files to
>> .osm file using Merkaartor and when I execute run.sh command
>> following error occurs,
>>
>>
>> $ ./run.sh osm.osm
>> ## using java from C:\Program Files\Java\jdk1.6.0
>> ## using existing osm file osm.osm
>> ## existing jar found
>> target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar
>> ## now running com.graphhopper.reader.OSMReader. algo=astar.
>> JAVA_OPTS=-XX:PermS
>> ize=30m -XX:MaxPermSize=30m -Xmx1000m -Xms1000m
>> 2013-05-22 17:18:39,437 [main] INFO graphhopper.reader.OSMReader -
>> start creati
>> ng graph from osm.osm
>> 2013-05-22 17:18:39,484 [main] INFO graphhopper.reader.OSMReader -
>> using LevelG
>> raphStorage|RAMDirectory|5, accepts:CAR, memory:totalMB:992, usedMB:91
>> Exception in thread "main" java.lang.IllegalStateException: Expected
>> nodes not i
>> n bounds: 0
>> at
>> com.graphhopper.reader.OSMReader.writeOsm2Graph(OSMReader.java:271)
>> at com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:210)
>> at com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:167)
>> at com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:141)
>> at com.graphhopper.reader.OSMReader.main(OSMReader.java:65)
>> ADMIN1 at ADMIN ~/graphhopper (0.1)
>> $
>>
>> -----
>> So kindly tell me good solution to rectify this error and Is
>> Merkaartor tool is good for converting .shp to .osm files.
>>
>> --
>> Thanks & Regards,
>> -------------------------------------------------------------------------------------
>> Gurucharan Vijayakumar,
>> Software Development Engineer,
>> Chennai.
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
--
GraphHopper.com Your way is our destination!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130522/85955977/attachment-0001.html>
More information about the GraphHopper
mailing list