si ca interesse qq'un, j'ai fait ça en php: function nominatim_revert ($lon,$lat) {
$url = ' http://nominatim.openstreetmap.org/reverse?format=xml&email=xxxx...@gmail.com&lat='.$lat.'&lon='.$lon ; $xml = simplexml_load_file($url); $addr["num"] = $xml->addressparts->house_number; $addr["rue"] = $xml->addressparts->road; $addr["ville"] = $xml->addressparts->city; $addr["cp"] = $xml->addressparts->postcode; $addr["pays"] = $xml->addressparts->country; return $addr; } a+ Le 7 janvier 2011 11:03, Thomas Clavier <t...@tcweb.org> a écrit : > Le 07/01/2011 08:47, kimaidou a écrit : > > Si vous le souhaitez, je peux faire tourner mon moteur de geocoding > > basé sur OSM sur le fichier d'adresse OWNI : ainsi on aura des > > longitudes et latitudes calculées à partir d'OSM, et on sera donc sûr ! > > géocoding ... OSM ... je n'ai pas encore approfondit le sujet mais il > m'intéresse beaucoup, ton moteur est libre ? il fonctionne comment sur > du nominatim ? > > -- > Thomas Clavier http://www.tcweb.org > Jabber/XMPP/MSN/Gtalk : t...@jabber.tcweb.org > +33 (0)6 20 81 81 30 +33 (0)950 783 783 > > > > _______________________________________________ > Talk-fr mailing list > Talk-fr@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-fr > >
_______________________________________________ Talk-fr mailing list Talk-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-fr