<div dir="ltr">Hi Peter,<div><br></div><div>Thanks to your help and dedication, the data import finally gets done. Excuted:</div><div>$ ./graphhopper.sh import japan-latest.osm.pbf</div><div><br></div><div>This generated a new folder "japan-latest.osm-gh" under graphhopper/ which consist of 6 files as</div>
<div><div>simon@ubuntu-simon:/opt/graphhopper/japan-latest.osm-gh$ ls</div><div>edges  geometry  locationIndex  names  nodes  properties</div></div><div><br></div><div>Looks good and then I tried to deply the android app to my cellphone. This is the steps that I followed:</div>
<div>1. ./graphhopper.sh eclipse</div><div>2. get my cellphone connected and run the application on the device</div><div>3. download japan.map from <a href="http://download.mapsforge.org/maps/asia/japan.map">http://download.mapsforge.org/maps/asia/japan.map</a></div>
<div>4. copy the japan.map into a folder japan-gh and move the folder to /sdcard/graphhopper/maps/</div><div><br></div><div>Then I run graphhopper on my cellphone. An error came out. Please see the attached screenshot of my cellphone.</div>
<div><br></div><div>It seems that the app on the cellphone couldn't load japan.map. Does it have some relationship with the "Limitation" you mentioned in <a href="https://github.com/graphhopper/graphhopper/wiki/Android#limitations">https://github.com/graphhopper/graphhopper/wiki/Android#limitations</a>?</div>
<div>I'm not very clear about the workaround: But you can simply create the graphhopper folder on your desktop and copy them to the Android storage.</div><div><br></div><div>Could you please give me more details about it, in terms of what is graphhopper folder used for and what does it contian?</div>
<div><br></div><div>Really appreciate your help. Thanks.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/2 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
if it is only japan it should not require more than 1gb to hold the<br>
graph and probably not more than 2gb to import the data. But why are you<br>
then creating so many nodes? Is the OSM covering a larger area than<br>
Japan and you're just somehow extracting Japan?<br>
<br>
You can also just specify the pbf file. No need for a transformation.<br>
<br>
Regards,<br>
Peter.<br>
<div class="im HOEnZb"><br>
<br>
> That's true, the size of map data is fairly HUGE. Not world wide but for<br>
> japan only. The .pbf file is 858MB but the extracted .osm file is nerely<br>
> 22GB.<br>
><br>
> I was really worried about the size of data and my relatively poor<br>
> hardware...But your tips and hints looks helpful.<br>
><br>
> Thanks Peter, I'll try it again tomorrow. Hopefully it will finally get<br>
> built up :-)<br>
><br>
> Keep in touch.<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best wishes!<br>Simon Gong<br>Enjoy Work, Enjoy Life<br>
</div></div>