[Tagging] objects mixing linear and area (for ex fence and landuse)
Joseph Eisenberg
joseph.eisenberg at gmail.com
Thu Dec 31 04:56:34 UTC 2020
I agree that the best option is to map the fence (or wall, or hedge) with a
separate way, since usually there will be at least one gap for a gate or
entrance way.
However, if you are going to add the information to the area rather than
mapping it precisely, it makes perfect sense to use "fenced=yes".
You could also use "walled=yes" or "hedged=yes" for areas surrounded by a
wall or hedge.
This is better than tagging barrier=hedge + landuse=meadow on the same
closed way, or amenity=school + barrier=wall, because adding both tags to
the same object makes it ambiguous to data users if the area is supposed to
represent the area of a wall or hedge.
While it's obvious to a human when looking at the rendered object, it's
rather difficult to write software to interpret this clearly: an object is
supposed to be an area or a line, not both
But when you add barrier=wall or barrier=hedge to another tag which usually
represents an area (like landuse= or amenity=), it suggests this might be a
wall or hedge micro-mapped as an area.
-- Joseph Eisenberg
On Wed, Dec 30, 2020 at 4:24 PM Andrew Harvey <andrew.harvey4 at gmail.com>
wrote:
> You could add a way on top of another closed way which shares the same
> nodes for part of it. I'd commonly do this for a leisure=park which might
> be fenced off on one side.
>
> On Thu, 31 Dec 2020 at 11:06, 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
>>
> _______________________________________________
> 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/20201230/a2629ed3/attachment.htm>
More information about the Tagging
mailing list