see: http://developer.yahoo.com/maps/rest/V1/geocode.html
When you make an API call to the Y! geocoding API with an address
Yahoo! will standardize the address and return the data in xml format:
<?xml version="1.0" encoding="UTF-8"?>
<ResultSet xmlns:xsi=" <http://www.w3.org/2001/XMLSchema-instance>
http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:yahoo:maps"
xsi:schemaLocation="urn:yahoo:maps
<http://local.yahooapis.com/MapsService/V1/GeocodeResponse.xsd>
http://local.yahooapis.com/MapsService/V1/GeocodeResponse.xsd">
<Result precision="address">
<Latitude>37.416384</Latitude>
<Longitude>-122.024853</Longitude>
<Address>701 FIRST AVE</Address>
<City>SUNNYVALE</City>
<State>CA</State>
<Zip>94089-1019</Zip>
<Country>US</Country>
</Result>
</ResultSet>
You can then save the returned data to your database.
----------------------------------------------------------------------------
--
original msg:
<http://groups.yahoo.com/group/yws-maps/message/7185;_ylc=X3oDMTJyNjUydGI2BF
9TAzk3MzU5NzE1BGdycElkAzE1NDI5MzgwBGdycHNwSWQDMTcwNTAwNTUxMgRtc2dJZAM3MTg1BH
NlYwNkbXNnBHNsawN2bXNnBHN0aW1lAzEyNDYwMDMwMzA-> Requesting Lat/Lon without
displaying a map
Posted by: "Mark Evanoff" <mailto:marke0313@...?Subject=
Re%3ARequesting%20Lat%2FLon%20without%20displaying%20a%20map>
marke0313@... <http://profiles.yahoo.com/marke0313> marke0313
Thu Jun 25, 2009 2:41 pm (PDT)
Can someone tell me... is it possible to send a request to Yahoo where you
pass them an address and request the Lat/Lon of that address?
I need to store the lat/lon in a database so I can display a map later, but
I don't need to display it at the time I'm collecting the data.
Is this possible? Anyone have an example?
[Non-text portions of this message have been removed]