<div dir="ltr">It's true !!!<br><br>One object with tags and without relation, the other without tags and with relation.<br>With this schema it's possible to check automatically and resolve the problem.<br><br>I've created a script in python for analyze all the object (only analyze, for the moment!); for your example I found:<br><br>--------------------------------------------------------<br><br>id_1:  267932686<br>id_2:  268625084<br>*** way_1-tags:  {u'source': u'<a href="http://dati.emilia-romagna.it/dato/item/11-11-uso-del-suolo-2008.html">http://dati.emilia-romagna.it/dato/item/11-11-uso-del-suolo-2008.html</a>', u'landuse': u'orchard', u'ref:corine_land_cover': u'2220'}<br>*** 1 NO RELATION !!<br>*** 2 NO TAGS !!<br>*** relation_2:  [{u'changeset': 21286678, u'uid': 480488, u'timestamp': datetime.datetime(2014, 3, 24, 15, 7, 22), u'tag': {u'landuse': u'farmland', u'type': u'multipolygon', u'ref:corine_land_cover': u'2121'}, u'member': [{u'role': u'outer', u'ref': 268625122, u'type': u'way'}, {u'role': u'inner', u'ref': 268625084, u'type': u'way'}, {u'role': u'inner', u'ref': 268625098, u'type': u'way'}], u'visible': True, u'version': 1, u'user': u'GiuseppeAmici_IT', u'id': 3600433}]<br><br>>>>>>>> update 2 - delete 1 !!<br><br>--------------------------------------------------------<br><br>It's possible to take the tags from the object id_1 and put them in the object id_2 then update id_2 and delete id_1.<br><br>What do you think ??<br>It' the right procedure for correct the problems ??<br><br>Are about 5.2k the couple of objects that present this condition !! <br><br>Paolo<br><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 14, 2016 at 3:59 PM, Martin Raifer <span dir="ltr"><<a target="_blank" href="mailto:tyr.asd@gmail.com">tyr.asd@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">> In many cases one record it's without "tags"<br>
<br>
</span>Those could be cases where one of the way is an inner hole of a<br>
multipolygon and the other one is the landuse polygon that fills the<br>
hole. Like this example pair:<br>
<a target="_blank" rel="noreferrer" href="http://www.openstreetmap.org/way/268625084">http://www.openstreetmap.org/<wbr>way/268625084</a> and<br>
<a target="_blank" rel="noreferrer" href="http://www.openstreetmap.org/way/267932686">http://www.openstreetmap.org/<wbr>way/267932686</a><br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Martin<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
On Wed, Sep 14, 2016 at 9:59 AM, Paolo F <<a href="mailto:geofrizz@gmail.com">geofrizz@gmail.com</a>> wrote:<br>
> Hi Martin,<br>
> thank you for your reporting.<br>
> I have done a spatial query for the region Emilia-Romagna for check all the<br>
> object (ways) with the same geometry.<br>
> The results are here:<br>
> <a target="_blank" rel="noreferrer" href="http://osmit3.wmflabs.org/check/export_ways_multiple_RER.csv">http://osmit3.wmflabs.org/<wbr>check/export_ways_multiple_<wbr>RER.csv</a><br>
> Exist more than 11k records and probably half of these must be deleted.<br>
> In many cases one record it's without "tags" and I hope that this element<br>
> permit a massive/automatic deletion.<br>
> For the rest will be necessary a manual intervention.<br>
> Before deleting anything I provide abundant perform checks and inspections.<br>
><br>
> Ciao,<br>
> GeoFrizz alias Paolo Frizzera<br>
><br>
> On Tue, Sep 6, 2016 at 10:14 AM, Martin Raifer <<a href="mailto:tyr.asd@gmail.com">tyr.asd@gmail.com</a>> wrote:<br>
>><br>
>> Hey,<br>
>><br>
>> I've spotted a region in Emilia-Romagna where a landuse import<br>
>> obviously gone wrong:<br>
>> There  are many overlapping identical landuse-polygons, where for<br>
>> example one is tagged landuse=farmland and the other one<br>
>> landuse=forest. Another example that triggered my attention at first<br>
>> was overlapping leisure=sport_centre and natural=wood polygons.<br>
>><br>
>> Here are some examples:<br>
>> * <a target="_blank" rel="noreferrer" href="https://www.openstreetmap.org/way/259698006">https://www.openstreetmap.org/<wbr>way/259698006</a> and<br>
>> <a target="_blank" rel="noreferrer" href="https://www.openstreetmap.org/way/259714904">https://www.openstreetmap.org/<wbr>way/259714904</a><br>
>> * <a target="_blank" rel="noreferrer" href="https://www.openstreetmap.org/way/259718079">https://www.openstreetmap.org/<wbr>way/259718079</a> and<br>
>> <a target="_blank" rel="noreferrer" href="https://www.openstreetmap.org/way/259701722">https://www.openstreetmap.org/<wbr>way/259701722</a><br>
>><br>
>> Looking at the distribution of sport centres in the region makes it<br>
>> look like as if this is a widespread issue in the region:<br>
>> <a target="_blank" rel="noreferrer" href="http://overpass-turbo.eu/s/ie9">http://overpass-turbo.eu/s/ie9</a><br>
>><br>
>> I couldn't find meta-information about this import in the respective<br>
>> changesets: e.g. <a target="_blank" rel="noreferrer" href="https://www.openstreetmap.org/changeset/20349894">https://www.openstreetmap.org/<wbr>changeset/20349894</a> :-(<br>
>><br>
>> Are those known problems of this import?<br>
>><br>
>> Cheers,<br>
>> Martin<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> dev-italia mailing list<br>
>> <a href="mailto:dev-italia@openstreetmap.org">dev-italia@openstreetmap.org</a><br>
>> <a target="_blank" rel="noreferrer" href="https://lists.openstreetmap.org/listinfo/dev-italia">https://lists.openstreetmap.<wbr>org/listinfo/dev-italia</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div>