Opened 5 years ago

Last modified 11 months ago

#18234 new enhancement

[Possible PATCH] render sides of barrier=guard_rail

Reported by: james2432 Owned by: team
Priority: normal Milestone:
Component: Internal mappaint style Version:
Keywords: barrier guard rail Cc:


Based on the description in the wiki:

Right side of the way faces the road. Adding a styling to barrier=guard_rail that points to the inside, kind of like barrier=kerb (with little triangles) depending on the direction could greatly help drawing them.

Attachments (1)

add-guard_rail-inner-side-direction.patch (589 bytes ) - added by anonymous 11 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Klumbumbus, 5 years ago

Component: CoreInternal mappaint style
Summary: [Enhancement] barrier=guard_railrender sides of barrier=guard_rail

comment:2 by Don-vip, 5 years ago

Keywords: barrier guard rail added

comment:3 by anonymous, 11 months ago

Easy to fix by using custom mapcss.

Position of triangles on inner guard rail side (inner surface is smooth).
Direction of triangles points usual to highway.

# cat custom-elemsyles.mapcss  
way[barrier=guard_rail] {
    repeat-image: "presets/barrier/kerb_pattern.svg";
    repeat-image-align: top;
    repeat-image-offset: 0.5;

comment:4 by taylor.smock, 11 months ago

Summary: render sides of barrier=guard_rail[Possible PATCH] render sides of barrier=guard_rail

Taking a quick look at osmwiki:Tag:barrier=guard_rail, "[if] there is a clear inner/outer demarcation to the guard rail, construct the line so that the right side is inner and left side is outer."

How is no clear inner/outer demarcation indicated? How is the inner/outer demarcation indicated? Is there a sub-tag we should be using/encouraging?

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to james2432.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.