New : Try the demo on a map with the leaflet plugin
The GEOLOC webservice is totally FREE and allow to find a place or POI and the distance from a GPS coordinate via a REST webservice. Gisgraphy also offers Premium hosted services and consulting.
It uses (free) data from Geonames that are imported into a local database.
You can see an example of use bellow. You can find documentation on how to use the XML API of the webservice and see how to download and install Gisgraphy.
You can use this interface to call the webservice and see the output.
8 results was found. (Paginate from 1 to 10).
Your request took 0.012 seconds.
Soatanimbary (MG) : 0 meters
Latitude : -22.649999618530273;
Longitude : 45.66667175292969
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.66667175292969
Population : 0;
View on a Map | View on Openstreetmap
Anivorano (MG) : 5,455.522 meters
Latitude : -22.666669845581055;
Longitude : 45.616668701171875
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.616668701171875
Population : 0;
View on a Map | View on Openstreetmap
Ampandrabe (MG) : 5,455.74 meters
Latitude : -22.633329391479492;
Longitude : 45.716670989990234
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.716670989990234
Population : 0;
View on a Map | View on Openstreetmap
Maromiandra (MG) : 7,608.04 meters
Latitude : -22.7166690826416;
Longitude : 45.650001525878906
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.650001525878906
Population : 0;
View on a Map | View on Openstreetmap
Mahasoa Sud Amber (MG) : 7,779.183 meters
Latitude : -22.683330535888672;
Longitude : 45.73332977294922
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.73332977294922
Population : 0;
View on a Map | View on Openstreetmap
Ambondrobe (MG) : 8,750.697 meters
Latitude : -22.666669845581055;
Longitude : 45.58332824707031
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.58332824707031
Population : 0;
View on a Map | View on Openstreetmap
Vavavolo (MG) : 9,422.589 meters
Latitude : -22.566669464111328;
Longitude : 45.650001525878906
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.650001525878906
Population : 0;
View on a Map | View on Openstreetmap
Saririaky (MG) : 9,877.336 meters
Latitude : -22.566669464111328;
Longitude : 45.70000076293945
Population : 0;
View on a Map | View on Openstreetmap
Longitude : 45.70000076293945
Population : 0;
View on a Map | View on Openstreetmap