cheacy / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Straight line route #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
Should follow the road that turns towards left/right..but it route shows me 
straight line

What version of the product are you using?
osmbonuspack version 4.2.7

Please provide any additional information below.
- do i need to put gps traces via JOSM? or add routing layer via JOSM?

Original issue reported on code.google.com by firdaus....@gmail.com on 27 Feb 2014 at 11:31

Attachments:

GoogleCodeExporter commented 8 years ago
Look here: 
http://stackoverflow.com/questions/21213224/roadmanager-for-osmdroid-error-help-
please

, and read carefully the answer. 

If this doesn't solve your issue, then provide the relevant section of your 
code, and the logcat trace. 

Original comment by mathieu....@gmail.com on 27 Feb 2014 at 11:51

GoogleCodeExporter commented 8 years ago
this is the logcat trace. 
For your info, i am using OSRMRoadManager not mapquest/google.

What is the "roadManager.addRequestOption("routeType=?");" for pedestrian? 
especially route that need to walk? no car/bicyle

Original comment by firdaus....@gmail.com on 11 Mar 2014 at 3:39

Attachments:

GoogleCodeExporter commented 8 years ago
Your logcat is empty... 

Did you check all hints provided in Stackoverflow answer? 

For possible routing options, look at the documentation of the corresponding 
service provider. 
=> OSRM public service doesn't support pedestrian routes. 

Original comment by mathieu....@gmail.com on 11 Mar 2014 at 11:19

GoogleCodeExporter commented 8 years ago
i checked the stackoverflow link already...

the error is 03-11 11:35:49.171: E/Trace(26171): error opening trace file: No 
such file or directory (2)

and RoadManager getRoad failed

Original comment by firdaus....@gmail.com on 11 Mar 2014 at 1:53

GoogleCodeExporter commented 8 years ago

the error is 03-11 11:35:49.171: E/Trace(26171): error opening trace file: No 
such file or directory (2)

=> This "error" just mentions that it's not able to write the trace... 
Are you using a physical device or an AVD? 
If you want to be able to analyze what happens (and if you want me to help), 
then you need the trace. 

Original comment by mathieu....@gmail.com on 12 Mar 2014 at 11:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
My emulator load the too slow..so i tried on my physical android device which 
is android galaxy tab that runs on 4.1.2..i have attached together with the 
logcat and java code in this comment...hope you can guide me to fix the error 
that i facing

Original comment by firdaus....@gmail.com on 13 Mar 2014 at 1:37

Attachments:

GoogleCodeExporter commented 8 years ago
You have an "android.os.NetworkOnMainThreadException"
=> You are exactly on the very first type of error mentioned in the 
Stackoverflow answer. I copy/paste it: 

1) You didnt' read carefully the "Important note" at the beginning of the 
Tutorial_1, and you are trying to do a Network call in the main thread, with an 
SDK >= 3.0. => Read this "Important note". 

Also: in your MainActivity.java, you try to add an option: 
roadManager.addRequestOption("routeType=foot");//type of road 
pedestrian/car/bicycle

2 remarks: 
1) This option is not valid, because, as I alread mentionned above:
"=> OSRM public service doesn't support pedestrian routes. " 
For pedestrian routes, use MapQuestRoadManager. 
2) You add this option AFTER doing your request (getRoad). So it's useless 
anyway. 

Original comment by mathieu....@gmail.com on 17 Mar 2014 at 10:02

GoogleCodeExporter commented 8 years ago
my minimum sdk is 12.still not working...

Original comment by firdaus....@gmail.com on 18 Mar 2014 at 1:23

GoogleCodeExporter commented 8 years ago
Of course: SDK 12 is higher than Honeycomb SDK. 

Please, again, read carefully to the "Important Note" here: 
http://code.google.com/p/osmbonuspack/wiki/Tutorial_1 :
Target for instance SDK 10. 
Or, if you really need SDK >= 12, then use Async tasks. 

Original comment by mathieu....@gmail.com on 18 Mar 2014 at 9:49

GoogleCodeExporter commented 8 years ago
The "Important Note" is now here: 
http://code.google.com/p/osmbonuspack/wiki/Tutorial_0

Original comment by mathieu....@gmail.com on 28 Mar 2014 at 8:46