Search the web
Sign In
New User? Sign Up
yws-maps · Yahoo! Maps Developer Community
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Requesting Lat/Lon without displaying a map   Message List  
Reply | Forward Message #7186 of 7224 |
Re:Requesting Lat/Lon without displaying a map

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]




Fri Jun 26, 2009 11:12 am

sittercafe
Offline Offline
Send Email Send Email

Forward
Message #7186 of 7224 |
Expand Messages Author Sort by Date

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...
Mark Evanoff
marke0313
Online Now Send Email
Jun 25, 2009
9:41 pm

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...
michael
sittercafe
Offline Send Email
Jun 26, 2009
11:14 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help