<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I'll fix that as other software like
JOSM also produces such osm files.<br>
See: <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/issues/42">https://github.com/graphhopper/graphhopper/issues/42</a><br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:519CC572.5000900@yahoo.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Gurucharan,<br>
<br>
your osm did not come through as it was too big (I was just
requesting a snippet ;))<br>
<br>
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.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CA+DQJATsRA0gLLc=8MhG-x4Sw7fPV79Ya17prYk+5x4S8JmqWA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>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, <br
clear="all">
<div><br>
</div>
<div><br>
</div>
<div>
<div>$ ./run.sh osm.osm<br>
</div>
<div>## using java from C:\Program Files\Java\jdk1.6.0</div>
<div>## using existing osm file osm.osm</div>
<div>## existing jar found
target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar</div>
<div>## now running com.graphhopper.reader.OSMReader.
algo=astar. JAVA_OPTS=-XX:PermS</div>
<div>ize=30m -XX:MaxPermSize=30m -Xmx1000m -Xms1000m</div>
<div>2013-05-22 17:18:39,437 [main] INFO
graphhopper.reader.OSMReader - start creati</div>
<div>ng graph from osm.osm</div>
<div>2013-05-22 17:18:39,484 [main] INFO
graphhopper.reader.OSMReader - using LevelG</div>
<div>raphStorage|RAMDirectory|5, accepts:CAR,
memory:totalMB:992, usedMB:91</div>
<div>Exception in thread "main"
java.lang.IllegalStateException: Expected nodes not i</div>
<div>n bounds: 0</div>
<div> at
com.graphhopper.reader.OSMReader.writeOsm2Graph(OSMReader.java:271)</div>
<div> at
com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:210)</div>
<div> at
com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:167)</div>
<div> at
com.graphhopper.reader.OSMReader.osm2Graph(OSMReader.java:141)</div>
<div> at
com.graphhopper.reader.OSMReader.main(OSMReader.java:65)</div>
<div>ADMIN1@ADMIN ~/graphhopper (0.1)</div>
<div>$</div>
</div>
<div><br>
</div>
<div>-----</div>
<div>So kindly tell me good solution to rectify this error
and Is Merkaartor tool is good for converting .shp to .osm
files.</div>
</div>
<div><br>
</div>
-- <br>
<div><font color="#3366ff">Thanks & Regards,</font></div>
<div><span style="color:rgb(153,153,153)">-------------------------------------------------------------------------------------</span></div>
<font color="#009900">Gurucharan Vijayakumar,</font>
<div><font color="#009900">Software Development Engineer,</font></div>
<div><font color="#009900">Chennai.</font></div>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
GraphHopper.com Your way is our destination!</pre>
</body>
</html>