[OSM-talk] Suggested mass edits
machyna at gmail.com
Mon Apr 19 14:35:09 UTC 2021
uff.. I see you like to live dangerously :)
But makes sense, I can skip recent changes and get back to them after a
while to give people a chance to use the relations if they indeed made
them as a placeholder.
On 18.4.21 6:51 , Clifford Snow wrote:
> 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
> <mailto: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 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 <mailto:talk at openstreetmap.org>
> www.snowandsnow.us <https://www.snowandsnow.us>
> OpenStreetMap: Maps with a human touch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk