Database Reference
In-Depth Information
{
"type":"Entertainment",
"category":"Arena",
"subcategory":"Stadium"
}
],
"bounds":[
-122.39115,
37.777233,
-122.387775,
37.779731
],
"abbr":null,
"name":"AT&T Park",
"href":"http://api.simplegeo.com/
1.0/features/SG_4H2GqJDZrc0ZAjKGR8qM4D_37.778406_-122.389506.json"
},
...
Yahoo!
Yahoo! has been a surprising leader in online geo APIs, with Placeinder for converting addresses
or place names into coordinates, GeoPlanet for getting category and neighborhood information
about places, and Placemaker for analyzing text documents and extracting words or phrases that
represent locations. You'll need to sign up for an app ID , but after that it's a simple REST/JSON
interface.
You can also download a complete list of the locations that Yahoo has in its database, holding
their names and the WOEID identiier for each. This can be a useful resource for doing oline
processing, though it is a bit hobbled by the lack of any coordinates for the locations:
curl "http://where.yahooapis.com/geocode?\
q=1600+Pennsylvania+Avenue,+Washington,+DC&appid=<App ID>&flags=J"
{"ResultSet":{"version":"1.0","Error":0,"ErrorMessage":"No error","Locale":"us_US",
"Quality":87,"Found":1,"Results":[{
"quality":85,
"latitude":"38.898717","longitude":"-77.035974",
"offsetlat":"38.898590","offsetlon":"-77.035971",
"radius":500,"name":"","line1":"1600 Pennsylvania Ave NW",
"line2":"Washington, DC 20006","line3":"",
"line4":"United States","house":"1600",
"street":"Pennsylvania Ave NW",
...
Search WWH ::




Custom Search