On 05. 11. 11 18:47, Christian Quest wrote:
Le 5 novembre 2011 18:37, Nicolas LECOINTE<nicolas.lecoi...@free.fr>  a écrit :
Bonsoir,

Je présume qu'avec OSM il est possible d'obtenir la ville et département à 
partir des coordonnées d'un point.
Mais comment est-ce réalisable ? Il y a t'il des API ? Dans quel langage ?

C'est pour un projet strictement personnel de geolocalisation de mes photos.

Nominatim ne sait pas faire ça ?

Voir: 
http://wiki.openstreetmap.org/wiki/Nominatim#Reverse_Geocoding_.2F_Address_lookup

C'est plutot simple:
http://open.mapquestapi.com/nominatim/v1/reverse?format=html&json_callback=renderExampleThreeResults&lat=51.521435&lon=-0.162714
ou alors
http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987&zoom=18&addressdetails=1

_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-fr

Répondre à