[OSM-talk] Suggested mass edits
machyna at gmail.com
Mon Apr 19 16:19:25 UTC 2021
I looked through bunch of those, I don't now if to call it decent.
Seems the common themes are:
1. some or all member ways exist and they have tags from the relation. I
assume people were simplifying multipolygons into simple polygons/areas
and forgot to delete.
2. all ways are gone. Hard to guess, but mostly it seems like fixing old
3. Relation was created but never had any members. User's error.
4. lot of times original multipolygon didn't even have any other tags to
begin with and someone was fixing it by re-repurposing the ways for
5. for turn restrictions or public transport, it's hard to guess, but it
seemed those people knew what they are doing and just forgot to delete.
I'd say all are useless leftovers, but if there is still anything useful
people can keep digging through
undelete the particular relation id if they want to restore the original
On 19.4.21 3:44 , Mateusz Konieczny via talk wrote:
> Thanks for taking care of asking before making an edit!
> Have you reviewed at least some decent sample of this objects to check is
> it going to remove valid data or hide more serious problems?
> Sometimes such things are indicator of broken imports or not noticed
> vandalism and removing them would just hide this problems.
> Sometimes it is perfectly fine to purge such data automatically.
> Also, I remember a tool that was able to show old geometries of an object.
> Sadly I am unable to track it down.
> Unlike attic data where it is necessary to select location and date
> manually it
> was enough to provide object id.
> It would be very useful to review relations from (1)
> Apr 18, 2021, 18:43 by machyna at gmail.com:
> Hi everyone,
> I had an idea that came during my work on a buildings import. I
> would like to clear/fix improperly created/deconstructed
> relations. This would include:
> 1) Remove relations that have no members, nor are members of a
> relation themselves.
> relation[type](if: count_members() == 0);
> rel(br) -> .parents;
> (._; - rel(r.parents););
> out ids;
> 2) Remove type=multipolygon from ways.
> out ids;
> talk mailing list
> talk at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk