You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the demo apk on my device. I hev created in my desktop the graphhopper folder with berlin.ghz insde, when I run the apk, the first spinner shows berlin and when I click ok jumps a toast saying: "file does not exists: /storage/sdcard0/graphhopper/maps/berlin-gh/berlin.map"
But when i search in a file explorer the file is in that location. I don´t know what to do.
Download the raw openstreetmap file - you'll need that only for the next step to create the routing data
Here I downloaded berlin.osm.bz2 and uncompressed it
Execute ./graphhopper.sh import . This creates the routing data
Here I used berlin.osm
Download a map e.g. berlin.map
Copy berlin.map into the created berlin-gh folder
Optional Compression Step: Bundle a graphhopper zip file via cd berlin-gh;zip -r berlin.ghz *
Now copy the berlin-gh folder from step 4 (or the .ghz file from step 5) to android /sdcard/graphhopper/maps - e.g. use SSHDroid: scp -P 2222 berlin.ghz root@$URL:/sdcard/graphhopper/maps/
I´ve tried with the folder and with the .ghz and none of them worked.
I had similar problems. So instead of copying the myfile.ghz file i copied
the whole mygraphhopper-gh and it worked. I guess the code has issues with
dealing with the .ghz file. Don't know what is the issue with the remote
downloading of files.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/127#issuecomment-29787257
.
Also if I use a older android device without a sdcard how should me put the local map file. I. Just have a Xoom Motorola just with internal storage device.
About local it was my mistake because I'm working with raw file from Colombia and when you use the script to import the osm data, it creates a folder named "colombia-latest.osm-gh". The app couldn't read the colombia.map file because of the .osm before -gh. So I renamed the folder and it worked well.
However at start the application is still not fetching the .ghz files from the server
Karussell why sometimes graphhopper get across blocks instead turning on corners properly?
is it map points related?... lack of info points? in order to trace route? just asking.
Activity
orangeman commentedon Dec 3, 2013
hm you say you put "berlin.ghz" in the folder but "berlin.map" exists but can not be found?
sebasgrgl commentedon Dec 3, 2013
Thanks for your answer.
To clarify...
I'm following https://github.com/graphhopper/graphhopper/wiki/Android tutorial
I followed this steps:
Here I downloaded berlin.osm.bz2 and uncompressed it
Here I used berlin.osm
I´ve tried with the folder and with the .ghz and none of them worked.
karussell commentedon Dec 3, 2013
Does it work if you download the map from us? (via 'Remote' at start screen)
orangeman commentedon Dec 3, 2013
Thx for clarifying my confusion!
sebasgrgl commentedon Dec 3, 2013
At start screen it shows a toast saying "to get downloadable areas restar connected to internet. Problem while fetching remote area list: http://graphhopper.com/public/maps/0.2/". I've tried connected to 3G and WiFi but always shows this message.
karussell commentedon Dec 4, 2013
Regarding remote download: Can you access the URL in your Android browser?
Regarding local: make sure you have this directory layout with 7 files (properties, nodes, edges, the map, locationIndex, geometry and names):
nirabpudasaini commentedon Dec 4, 2013
I had similar problems. So instead of copying the myfile.ghz file i copied
the whole mygraphhopper-gh and it worked. I guess the code has issues with
dealing with the .ghz file. Don't know what is the issue with the remote
downloading of files.
On Wed, Dec 4, 2013 at 2:14 PM, Peter [email protected] wrote:
gislogin commentedon Dec 4, 2013
Also if I use a older android device without a sdcard how should me put the local map file. I. Just have a Xoom Motorola just with internal storage device.
karussell commentedon Dec 4, 2013
@gislogin You can package it into the app itself, grab it from our servers or your own (local) server.
sebasgrgl commentedon Dec 4, 2013
Karussel, About remote download, yes, I can acces the URL by the android browser.
About Local, In the folder I have the seven files you said: nodes, properties, berlin.map, edges, geometry, locationIndex and names
sebasgrgl commentedon Dec 4, 2013
Ok people,
About local it was my mistake because I'm working with raw file from Colombia and when you use the script to import the osm data, it creates a folder named "colombia-latest.osm-gh". The app couldn't read the colombia.map file because of the .osm before -gh. So I renamed the folder and it worked well.
However at start the application is still not fetching the .ghz files from the server
karussell commentedon Dec 4, 2013
What are the logs saying (not the toast)?
karussell commentedon Jan 8, 2014
What is the status here?
karussell commentedon Feb 17, 2014
Ah, it could be that KitKat requires us to do:
no ... we already require this. And implicetly this would give us read access as stated in the docs:
http://developer.android.com/guide/topics/data/data-storage.html
So this does not explain 'open failed: EACCES (Permission denied)' somewhere in the logs.
15 remaining items
karussell commentedon Mar 28, 2014
Will fix and upload a new version shortly. Really strange why this did not fail earlier with normal Java and older Android versions.
fixing #127, android 4.4 cannot download/fetch data
karussell commentedon Mar 31, 2014
This should be finally fixed. Please try with the new uploaded maps.
karussell commentedon Mar 31, 2014
Forgot a link to the APK: https://oss.sonatype.org/content/repositories/snapshots/com/graphhopper/graphhopper-android/0.3-SNAPSHOT/graphhopper-android-0.3-20140331.131153-22.apk
carlosharlens commentedon Apr 1, 2014
Hi,
Karussell why sometimes graphhopper get across blocks instead turning on corners properly?
is it map points related?... lack of info points? in order to trace route? just asking.
best regards
karussell commentedon Apr 2, 2014
Please use mailing list and include an example screenshot or link
rjcool commentedon Jun 20, 2014
karussell commentedon Jun 20, 2014
Pasting an error message is not helpful
rjcool commentedon Jun 20, 2014
but the link you gave is not working so i just notified you.
On Fri, Jun 20, 2014 at 1:21 PM, Peter [email protected] wrote:
Thanks & Regards,
-Rajal Shah [email protected]
VIII Semester
U V Patel College of Engineering,Mehsana
karussell commentedon Jun 20, 2014
Just try the released version
show problem in unit test #127
Fix something like a fencepost error #127 which would happen when out…
Merge pull request #128 (#127)
Current location (graphhopper#127)