cs0815
cs0815

Reputation: 17388

free api for place names area names etc

I do not think there is something like this but I give it a go anyway.

Let us say I have a square defined by two points (latitude, longitude combination). Is there a (free) API (gazetteer?) which returns the country/countries in which the square is located and possibly place names, cities, admin area names within the square?

Another useful API would be one which returns the same information as above given a point (latitude, longitude) and a (predefined) radius.

I would prefer the first solution though.

Thanks.

Christian

Upvotes: 1

Views: 1859

Answers (4)

pr1001
pr1001

Reputation: 21962

For commercial offerings, Yahoo has GeoPlanet and Google has Places. Both have easy to use APIs.

Upvotes: 0

Sam Wilson
Sam Wilson

Reputation: 4512

Although not complete for all areas, there is the Openstreetmap (and if it's no complete, you can always add to it!).

Upvotes: 0

amercader
amercader

Reputation: 4540

I don't think they will meet all your requirements, but GeoNames Web Services are worth a look:

Check the terms for information regarding licence and daily usage.

And of course, you can always have a look at the Google Maps Reverse Geocoder, but I don't think it supports a bounding box or radius parameter:

http://maps.google.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false

Upvotes: 2

Ira Rainey
Ira Rainey

Reputation: 5209

Not sure if this would do exactly what you want, but I came across this the other day: SimpleGeo

In their FAQ it says:

SimpleGeo, in its most basic form, indexes data by location using latitude and longitude so that you can easily search for things that are nearby.

They provide a free API for up to 1m calls per month.

Upvotes: 0

Related Questions