[OSM-talk] [BOT] [RFC]: water surfaces

Nicolás Alvarez nicolas.alvarez at gmail.com
Tue Mar 22 13:23:51 UTC 2016


> El 22 mar 2016, a las 10:10, Frank Villaro-Dixon <frank at villaro-dixon.eu> escribió:
> 
> Hi everybody,
> 
> I launched a bot (FrankVD_bot) this week which didn't make everyone happy, as it wasn't discussed with the community, which is quite normal. Here's then the RFC for (let's call it) scorpion.
> 
> 
> # Targets
> The targeted zones are actually the multipolygons with natural=water on them. Working box is all the planet.
> 
> # Why ?
> Well, OSM has a quite exhaustive lakes/water surfaces database, but it's a complete pain to work on because:
>    * Some non closed ways have a natural=water or a water=* tag,    which makes no sense and is forbidden.
>    * Attributes (natural, water, name, intermittent) are in the    relation and in the way itself, which is anti normal form (and not logical).
> 
> # First goal:
> First goal is quite simple. The idea is to work only on relations which have a natural=water .  Then, it will:
>    * Delete natural=water from all the ways if they are NOT closed or    ring 0.

What if there is a way legitimately with natural=water that isn't closed because of an error? The correct fix is to close it, not to remove the tag. This cannot be done automatically.




More information about the talk mailing list