Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#11464 closed enhancement (fixed)

advanced coastline mappaint style

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone: 15.08
Component: Internal mappaint style Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

I was thinking about displaying the sides of a coastline in the mapview because errors in the coastline can cause big rendering issues. (We also have such renderings for cliff, embankment, kerb, retaining_wall.) Possible solutions could be:

  • blue right-casing and brown left casing
  • image pattern with waves at the right side

However we already have validator warnings for coastlines and I do not know if an advanced paint style would be distracting. Coastlines are also often together with boundaries and landuse borders. Since I do not have experience with coastline mapping, I'm not sure if it would be helpful or painful. Any opinions?

Example:


Code for this:

way[natural=coastline] {
    width: 1;
    color: water#0000ff;
    right-casing-width: 2;
    right-casing-color: water#0000ff;
    right-casing-offset: -1;
    left-casing-width: 2;
    left-casing-color: brown;
    left-casing-offset: -1;
}

Attachments (2)

coastline.png (15.2 KB ) - added by Klumbumbus 10 years ago.
coastline2.png (55.8 KB ) - added by bastiK 10 years ago.

Download all attachments as: .zip

Change History (9)

by Klumbumbus, 10 years ago

Attachment: coastline.png added

comment:1 by Klumbumbus, 10 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 10 years ago

Description: modified (diff)

by bastiK, 10 years ago

Attachment: coastline2.png added

in reply to:  description comment:3 by bastiK, 10 years ago

It is a good idea to have a visual cue what direction the coastline should be. I fear with both a brown and a blue line, it looks as if there are 2 ways. Maybe we can imitate the Mapnik style for nature_reserve (e.g. here).


way[natural=coastline] {
    width: 2;
    color: water#0000ff;
    right-casing-color: water#0000ff;
    right-casing-width: 5;
    right-casing-opacity: 0.45; 
}

(Not sure if this style is intuitive though.)

comment:4 by Klumbumbus, 9 years ago

Milestone: 15.06

I like your style, but I would make the casing a bit more transparent. The only confusing thing is that such a stlye is usually at the inner side of the border. Here it shows the outer part. But I think since it is blue it is not a big deal. I think we should test this in next milestone.

comment:5 by Don-vip, 9 years ago

Milestone: 15.0615.07

skip milestone 15.06

comment:6 by Klumbumbus, 9 years ago

Resolution: fixed
Status: newclosed

In 8504/josm:

fix #11464 - display sea side of coastline by blue casing

comment:7 by Don-vip, 9 years ago

Milestone: 15.0715.08

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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