J'ai testé sur l'interface overpass directement. Il y a ça qui marche bien sur toute la France
http://overpass-turbo.eu/s/5GD Le 30 octobre 2014 10:34, Jo <winfi...@gmail.com> a écrit : > switch these lines: > > > > *out meta;>;* > to > > > *>;* > > > *out meta;* > > > *de cette façon tu requête d'abord les 'enfants' et puis tu les 'exporte'.* > > *Polyglot* > > 2014-10-30 10:07 GMT+01:00 Maxime Résibois <maxime.resib...@gmail.com>: > >> Je viens de faire le test, c'est presque ça : dans mon fichier .osm j'ai >> toutes les "métadonnées" pour les ways et les nodes renseignées comme étant >> des pharmacies, par exemple : >> >> >> >> >> >> >> >> * <node version="2" uid="136303" user="Bernard59118" id="290682623" >> changeset="26128158" timestamp="2014-10-16T20:12:46Z" lon="3.0527961" >> lat="50.6922156"> <tag v="pharmacy" k="amenity" /> <tag v="yes" >> k="dispensing" /> <tag v="Pharmacie PETITPREZ" k="name" /> <tag >> v="590031985" k="ref:FR:FINESS" /> <tag v="Celtipharm - 10/2014" >> k="source" /> </node>* >> >> mais pas sur les "nodes" simples utilisés uniquement pour former les >> "ways", par exemple : >> >> *<node id="465752097" lon="3.1986560" lat="49.6134634" />* >> >> Du coup JOSM ne veut toujours par l'ouvrir et signale la même erreur mais >> à la ligne 4633 au lieu de la 5ème ligne. >> >> Maxime >> >> >> Le 30 octobre 2014 09:54, Pierre-Yves Berrard < >> pierre.yves.berr...@gmail.com> a écrit : >> >>> Bonjour, >>> >>> Essaie de changer "out body" en "out meta". >>> >>> PY >>> >>> Le 30 octobre 2014 09:48, Maxime Résibois <maxime.resib...@gmail.com> a >>> écrit : >>> >>>> Bonjour, >>>> [...] >>>> Pour info voici la requête complète sur Overpass-turbo : >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> */*This has been generated by the overpass-turbo wizard.The original >>>> search was:“amenity=pharmacy and ref:FR:FINESS=*”*/[out:xml][timeout:25];// >>>> gather results( // query part for: “amenity=pharmacy and >>>> "ref:FR:FINESS"=*” node["amenity"="pharmacy"]["ref:FR:FINESS"]({{bbox}}); >>>> way["amenity"="pharmacy"]["ref:FR:FINESS"]({{bbox}}); >>>> relation["amenity"="pharmacy"]["ref:FR:FINESS"]({{bbox}}););// print >>>> resultsout body;>;out skel qt;* >>>> >>>> Bonne journée à tous, >>>> >>>> Maxime >>>> >>> >>> >>> _______________________________________________ >>> Talk-fr mailing list >>> Talk-fr@openstreetmap.org >>> https://lists.openstreetmap.org/listinfo/talk-fr >>> >>> >> >> _______________________________________________ >> Talk-fr mailing list >> Talk-fr@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/talk-fr >> >> > > _______________________________________________ > Talk-fr mailing list > Talk-fr@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-fr > >
_______________________________________________ Talk-fr mailing list Talk-fr@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-fr