Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Messy Address Parsing > Obtaining Latitude and Longitude Using Yahoo

Obtaining Latitude and Longitude Using Yahoo

To plot our foreclosures on a map, we’ll need to get latitude and longitude coordinates for each street address. Yahoo Maps provides such a service (called “geocoding”) as a REST-enabled web service. Via HTTP, the service accepts a URL containing a partial or full street address, and returns an XML document with the relevant information. It doesn’t matter whether a web browser or a robot is submitting the request, as long as the URL is formatted correctly. The URL must contain an appid parameter and as many street address arguments as are known.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint