Modify

Opened 4 years ago

Closed 4 years ago

#3301 closed enhancement (worksforme)

Barrier = fence

Reported by: anonymous Owned by: christeck
Priority: normal Component: Internal preset
Version: tested Keywords:
Cc:

Description

I often find the need to indicate that there is a fence across (blocking) a path. Barrier=fence seems the obvious way to do this but JOSM does not appear to allow this tag for a single point (or even for a linear object) - only as an area object. But usually the only information is that the path is blocked at the point. It seems clumsy to have to artificially generate a linear fence object - and even this seems impossible at the moment as as soon as there are three points it seems to get treated as an area. Could we extend the tagging barrier=fence to work with points and lines as well as with areas?

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by christeck

  • Resolution set to worksforme
  • Status changed from new to closed

According to http://wiki.openstreetmap.org/wiki/Key:barrier a fence consists of a "way" or area, not a node. I tried it in JOSM, where a way consisting of two nodes only is enough to map a fence.

comment:2 Changed 4 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

OK - I'll try again to see if I can make it work on two nodes. But why can't we have it on a single node like most other barrier= ??

comment:3 Changed 4 years ago by plaicy

  • Resolution set to worksforme
  • Status changed from reopened to closed

A fence has always a direction and this is not shown if a node is marked as fence. Maybe there are other reasons why node is not allowed on the wiki page. If you like this to be changed discuss this in the discussion of barrier:fence.

JOSM only follows this in the presets menu:

        <item name="Fence" icon="presets/empty.png" type="way,closedway">
            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=fence" />
            <key key="barrier" value="fence" />
        </item> <!-- fence -->

If you really need this, create a custom presets and load this in addition. But you also have to change the mappaint style because this show an exclamation mark for all nodes.

In my option a fence-area make no sense. But this is consequent with barrier:wall. This only applies to closed ways.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.