[Tagging] objects mixing linear and area (for ex fence and landuse)

Eugene Alvin Villar seav80 at gmail.com
Thu Dec 31 07:00:51 UTC 2020


For cases where the whole perimeter is fenced (or walled), I prefer
avoiding overlapping ways on the same shape. So I would create a way and
tag it as barrier=fence/wall and then create a type=multipolygon relation
having the first way as an outer member and tag the relation as landuse=*.

If there is a gate that is large enough to be mapped as a linear way, then
we can have two ways, one for the fence/wall and the other for the gate,
then combine them all into the aforementioned multipolygon relation for the
landuse.


On Thu, Dec 31, 2020, 8:06 AM Marc_marc, <marc_marc at mailo.com> wrote:

> Hello,
>
> what's the best to tag a fenced area ?
>
> previously I used fenced=yes to describe a *characteristic*
> of the area (the area has a fence at the outer, the object
> isn't a fence it-self)
> but the wiki said it's depreciated in favor of barrier=fence.
> but that's not the same : barrier=fence is a linear feature at the
> outer, mixing 2 features in one object is a bad pratice.
> and nothing said if the fence is mapped as an area or not (area=no
> is not usable in this case, due the mix with an area on the same object)
>
> so, what's the best ?
> - restore fenced=yes as a valid tag for a characteristic of one objet
> (and keep of course barrier=fence for the fence it-self) ?
> or
> - move the area feature to a relation ? (we don't tag for a tools, but
> are the tools able of having a linear geometry for the barrier and a
> relation describing an area using the previous linear geometry?)
> or
> - move the linear feature to a relation ?
> or
> - if the number of node is small, create 2 ways, one for the linear,
> another for the area ?
> or
> - take an aperitif, it's New Year's Eve ? :)
>
> Regards,
> Marc
>
>
>
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20201231/6b098268/attachment.htm>


More information about the Tagging mailing list