http://developer.mapquest.com/web/guest
MapQuest Developer Network
  • Sign In  |
  • Create Account  |
  • Contact Us
  •   |
  • Quick Start  |
    For Businesses For Developers For Easy Mapping Tools Get MapQuest AppKey
  • Business Solutions  |
    Enterprise Solutions Business Listings
  • APIs  |
    Licensed Data APIs Open Data APIs Licensed vs. Open Data
  • Mapping Tools  |
    Overview Map Builder Route Planner Link to MapQuest Link to Route Planner Distance Calculator Latitude/Longitude Finder Static Map Wizard
  • Resources  |
    Licensed vs. Open Data Developer Guides Terms Overview Terms of Use
  • Blog  |
    MapQuest Developer Blog MapQuest Blog
  • Support
    FAQ Forums Contact
Answer ( Unmark )
Mark as an Answer

Supported Countries

Forums

» Services - Directions API Web Service » Supported Countries
Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Supported Countries Cameron Calka 11/28/11 3:05 PM
RE: Supported Countries Brian Coakley 11/28/11 3:43 PM
Cameron Calka
Cameron Calka Rank: Youngling Posts: 3
Join Date: 9/30/10

Recent Posts
Supported Countries
Answer (Unmark)
11/28/11 3:05 PM
I may have overlooked this, but is there a list of "supported countries" where the distance api works? I noticed that while I am able to get the geocodes for address in South Africa, I get an error message that no dataset can be found when attempting to get the route between them.

Example Queries
Geocoding:
http://www.mapquestapi.com/geocoding/v1/batch?callback=renderBatch&key=YOUR_KEY_HERE&outFormat=xml&inFormat=xml&xml=<batch><locations><location><street>4 Rhodes drive</street><city>Constantia</city><postalCode>7806</postalCode><country>ZA</country></location></locations><options><maxResults>1</maxResults></options></batch>

http://www.mapquestapi.com/geocoding/v1/batch?callback=renderBatch&key=YOUR_KEY_HERE&outFormat=xml&inFormat=xml&xml=<batch><locations><location><street>13 Linda Road</street><city>Cape Town</city><postalCode>7708</postalCode><country>ZA</country></location></locations><options><maxResults>1</maxResults></options></batch>

Distance:
http://www.mapquestapi.com/directions/v1/routematrix?callback=renderAdvancedNarrative&key=YOUR_KEY_HERE&outFormat=xml&inFormat=xml&xml=<route><locations><location>-34.011658,18.405966</location><location>-33.98749,18.46095</location></locations><options><routeType>fastest</routeType><unit>m</unit><enhancedNarrative>false</enhancedNarrative><locale>en_US</locale><generalize>0</generalize><shapeFormat>raw</shapeFormat><avoidTimedConditions>false</avoidTimedConditions></options></route>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
  • Top
Brian Coakley
Brian Coakley Rank: Yoda Posts: 2329
Join Date: 10/13/09

Recent Posts
RE: Supported Countries
Answer (Unmark)
11/28/11 3:43 PM as a reply to Cameron Calka.
This is not part of the documentation (yet), but you can use the open directions service to find the same data in areas not covered by the licensed data.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
  • Top
Platforms & Technologies
Quick Start for Developers
Quick Start for Easy Mapping Tools
Licensed Data APIs
Open Data APIs
Popular Products
JavaScript Maps API
Flex Map API
Geocoding API Web Service
Directions API Web Service
Search API Web Service
Support
Licensing
Developer Forums
Contact Us
FAQ
Products
MapQuest.com
Mobile Products
Route Planner
Gas Prices
Follow MapQuest
MapQuest Developer Blog
MapQuest Blog
MapQuest on Facebook
MapQuest on Twitter
Join our Mailing List

©2012 MapQuest, Inc. All rights reserved.    Privacy Policy | Terms of Use

Site Map | Help

Loading......