Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

What I'm trying to do is have two edit boxes for source and destination. Based on those two locations I need to draw the route on an ArcGIS map in Android. Any ideas or suggestions would be greatly appreciated!

share|improve this question
    
What area do you want your app to give results in? Do you want ArcGIS online related resources, Or can you host your own services? Do the Web services need to be from the ESRI stack or is OpenSource fine? –  Devdatta Tengshe Mar 21 '13 at 14:50

1 Answer 1

The Basic algorithm is as follows:

  1. Geocode the two addresses to get the position for both of them.

  2. Pass these two points to a Network Analyst Service, and get the result from them.

If you want to stick to the ESRI stack, ArcGIS Online has Geocoding, as well as Network Analyst services available.

In the OpenSource Stack, you have several options like gisgraphy, OpenStreetMaps' Nominatim, MapQuest geocoder etc. You could even host your own. As for routing you could host your own pgRouting or use something like MapQuest's OpenDirection API

Please note that most of these online services have some kind of limits on them. You need to be aware of them, and make sure that you do not run afoul of their Terms & Conditions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.