[OSM-talk-fr] Bug ou fausse manip ?
Vincent MEURISSE
osm-talk-fr at meurisse.org
Sam 7 Mar 15:07:51 UTC 2009
> Par exemple :
> Version "fausse" en zoom 13 pour manip et osmarender :
> http://www.openstreetmap.org/?lat=45.1483&lon=1.1848&zoom=13
> - Une incohérence potlatch/jOSM, ça sent de bug qqpart.
Ça sent gravement le bug de la part de potlatch lors de l'upload.
Si on demande directement à l'API on obtient:
État courant du way concerné :
http://www.openstreetmap.org/api/0.5/way/31825487
><osm version="0.5" generator="OpenStreetMap server">
><way id="31825487" visible="true" timestamp="2009-03-06T18:24:32+00:00"
> user="Art Penter"> <nd ref="356320045"/>
><nd ref="28195312"/>
><tag k="name" v="La Transeuropéenne"/>
><tag k="created_by" v="Potlatch 0.10f"/>
><tag k="highway" v="motorway"/>
><tag k="int_ref" v="E 70"/>
><tag k="ref" v="A 89"/>
><tag k="oneway" v="true"/>
></way>
></osm>
Si l'on demande l'historique:
http://www.openstreetmap.org/api/0.5/way/31825487/history
><osm version="0.5" generator="OpenStreetMap server">
><way id="31825487" visible="true" timestamp="2009-03-06T18:24:32+00:00"
> user="Art Penter"> <nd ref="356320045"/>
><nd ref="283249557"/>
><nd ref="283249559"/>
><nd ref="283249561"/>
><nd ref="283249562"/>
><nd ref="283249564"/>
><nd ref="283249566"/>
><nd ref="283249568"/>
><nd ref="283249569"/>
><nd ref="283249571"/>
><nd ref="283249573"/>
><nd ref="283249575"/>
><nd ref="283249576"/>
><nd ref="283249578"/>
><nd ref="283249580"/>
><nd ref="283249581"/>
><nd ref="283249583"/>
><nd ref="283249585"/>
><nd ref="283249586"/>
><nd ref="283249588"/>
><nd ref="283249589"/>
><nd ref="283249591"/>
><nd ref="283249593"/>
><nd ref="283249595"/>
><nd ref="283249597"/>
><nd ref="283249599"/>
><nd ref="283249601"/>
><nd ref="283249602"/>
><nd ref="283249604"/>
><nd ref="283249605"/>
><nd ref="283249606"/>
><nd ref="283249608"/>
><nd ref="283249609"/>
><nd ref="283249611"/>
><nd ref="283249613"/>
><nd ref="283249615"/>
><nd ref="283249616"/>
><nd ref="283249617"/>
><nd ref="283249618"/>
><nd ref="283249620"/>
><nd ref="283249621"/>
><nd ref="283249622"/>
><nd ref="283249624"/>
><nd ref="283249625"/>
><nd ref="283249627"/>
><nd ref="283249628"/>
><nd ref="283249629"/>
><nd ref="283249631"/>
><nd ref="283249632"/>
><nd ref="283249634"/>
><nd ref="283249635"/>
><nd ref="283249637"/>
><nd ref="283249639"/>
><nd ref="283249641"/>
><nd ref="283249643"/>
><nd ref="283249646"/>
><nd ref="283249647"/>
><nd ref="283249648"/>
><nd ref="283249650"/>
><nd ref="283249652"/>
><nd ref="283249654"/>
><nd ref="283249656"/>
><nd ref="283249658"/>
><nd ref="283249659"/>
><nd ref="283249661"/>
><nd ref="283249663"/>
><nd ref="283249664"/>
><nd ref="283249665"/>
><nd ref="283249667"/>
><nd ref="283249669"/>
><nd ref="283249672"/>
><nd ref="283249674"/>
><nd ref="283249676"/>
><nd ref="283249677"/>
><nd ref="283249680"/>
><nd ref="28195336"/>
><nd ref="28195312"/>
><tag k="name" v="La Transeuropéenne"/>
><tag k="created_by" v="Potlatch 0.10f"/>
><tag k="highway" v="motorway"/>
><tag k="int_ref" v="E 70"/>
><tag k="ref" v="A 89"/>
><tag k="oneway" v="true"/>
></way>
></osm>
Là on a la version "normale"
Si on demande un des points :
http://www.openstreetmap.org/api/0.5/node/283249557/history
><osm version="0.5" generator="OpenStreetMap server">
><node id="283249557" lat="45.1493826" lon="1.171978" user="Welshie"
> visible="true" timestamp="2008-08-04T00:13:23+01:00"/>
> <node id="283249557"
> lat="45.1493826" lon="1.171978" user="Marcussacapuces91" visible="true"
> timestamp="2009-01-22T18:50:12+00:00"/>
> <node id="283249557"
> lat="45.1493826" lon="1.171978" user="Marcussacapuces91" visible="true"
> timestamp="2009-01-22T18:54:45+00:00"/>
> <node id="283249557"
> lat="45.1493826" lon="1.171978" user="Art Penter" visible="true"
> timestamp="2009-03-06T18:23:35+00:00"/>
> <node id="283249557"
> lat="45.1493826" lon="1.171978" user="Art Penter" visible="true"
> timestamp="2009-03-06T18:24:26+00:00"/>
> <node id="283249557"
> lat="45.1493826" lon="1.171978" user="Art Penter" visible="false"
> timestamp="2009-03-06T18:24:38+00:00"/>
> </osm>
On voit que le point à été supprimé hier à 18h24
Il est donc normal que l'API ne rende pas les points du way. Ce qui est moins
normal c'est que les nœuds aient pu être supprimés alors qu'ils étaient
utilisés.
Il est également bizarre que potlatch affiche ces nœuds.
Pour la correction t'as essayé d'upload ce qu'il y'a dans potlatch ? Sinon va
falloir se faire les nœuds un par un à la main et c'est déjà moins cool.
--
Vincent MEURISSE
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20090307/2db0768a/attachment.htm>
Plus d'informations sur la liste de diffusion Talk-fr