[GraphHopper] Reg : Creating routing files with our map data
Gurucharan Vijayakumar
gurucharan.ji at gmail.com
Wed May 22 13:12:05 UTC 2013
Hi,
Thanks for your instant reply, As per your request I have attached my osm
file with this mail. Please guide me a right way to create routing files
from my shape files. Thanks in advance...
On Wed, May 22, 2013 at 6:24 PM, Peter K <peathal at yahoo.de> wrote:
>
> > Is Merkaartor tool is good for converting .shp to .osm files.
>
> I don't know merkaartor and I don't think that this will work. How does
> such an osm file look like? Can you insert a snippet in your email? Does
> it have ways and nodes?
>
> 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.
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
--
Thanks & Regards,
-------------------------------------------------------------------------------------
Gurucharan Vijayakumar,
Software Development Engineer,
Chennai.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130522/26229f37/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mymap.zip
Type: application/zip
Size: 191717 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130522/26229f37/attachment-0001.zip>
More information about the GraphHopper
mailing list