[OSM-talk] Suggested mass edits
clifford at snowandsnow.us
Sun Apr 18 22:51:07 UTC 2021
One caution, on rare occasions, I've created a relation to hold future
elements. These all involved complex boundary relations with many ways. I
would exclude any relation that is less than a few days old.
One other suggestion would be to start with small areas to test that the
script works as expected.
On Sun, Apr 18, 2021 at 9:47 AM Martin Machyna <machyna at gmail.com> wrote:
> 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
> 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
OpenStreetMap: Maps with a human touch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk