<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>