OSMAnd routing internals

93 views
Skip to first unread message

Pēteris Krišjānis

unread,
May 24, 2013, 6:20:12 AM5/24/13
to osm...@googlegroups.com
Hi!

I'm doing some interesting hacking around offline transit routing on mobile devices and would try to hack on OSMAnd to test some theories. However, I can't really tell where all routing stuff happens in a code. Anyone wishing to give a hint?

Thanks in advance,
respectfully,
Peter.

Stephan75

unread,
May 24, 2013, 8:24:54 AM5/24/13
to osm...@googlegroups.com
Hello Peter,

unfortunately I am not familiar with the sourcecode so far to give you a concrete hint,

but I already posted a hint on this mailing list about an alternative routing project especially for mobile devices that is opensource and under active development:


This hint is NOT against Osmand's solution, I appreciate the work of all developers!

But maybe Osmand can even take benefit from graphhopper, too?

Stephan

Victor Shcherb

unread,
May 25, 2013, 6:38:11 AM5/25/13
to osmand
Hello,
Let me just explain what is the current situation in OsmAnd
- OsmAnd has special data section Transport which contain all routes there is no navigation done in that area but the data is there and it is displayed in Search Transport screen.
- OsmAnd has map/poi section which includes only Transport Stops and this is displayable on the map and you can use POI search transportation.
- OsmAnd has special routing section. For transport routing this is could be new and fresh approach to write 
  -> create special https://github.com/osmandapp/Osmand/blob/master/OsmAnd-java/src/net/osmand/router/routing.xml which could work (then routing A* will be already implemented)


Also it is good to know that Transport data is not limited only to OSM where it is mostly incomplete 
http://en.wikipedia.org/wiki/General_Transit_Feed_Specification. To index such data in OsmAnd you still need to generate free-form OSM-XML and update for rendering_types.xml

Best Regards,
Victor



--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages