Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#895 closed defect (fixed)

mapnik: please render natural=cliff for ways

Reported by: robx Owned by: steve8@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: tags Cc:

Description

People have been tagging cliffs as ways using natural=cliff. As far as I can tell, this is not currently rendered.

By convention, the top of the cliff is on the left side.

Proposed rendering styles from http://wiki.openstreetmap.org/index.php/Tag:natural%3Dcliff include:

  • a dotted line
  • a solid line with strokes on the downward side
  • two parallel lines, the downward side broken

Change History (5)

comment:1 Changed 11 years ago by Tom Hughes

Owner: changed from Tom Hughes to steve8@…

Assigning to Steve - he will probably appreciate it if you have details of a location in the UK that has been tagged in this way so he can test things.

comment:2 Changed 11 years ago by erik@…

Keywords: tags added

I have some in Stockholm, no coastlines though, it would be cool with the sawtoothed layout.

http://openstreetmap.org/edit?lat=59.3168&lon=18.0438&zoom=15

comment:3 Changed 11 years ago by steve8@…

Resolution: fixed
Status: newclosed

Added as grey line with ticks. Downslope is to the left of the direction of the way

comment:4 in reply to:  3 Changed 11 years ago by emj

Replying to steve8@mdx.ac.uk:

Downslope is to the left of the direction of the way

I'm pretty sure the ticks are rendered on the right hand side of the way, so the downslope must also be on the right.

http://openstreetmap.org/?lat=59.31561&lon=18.04524&zoom=17&layers=B00FF

comment:5 Changed 11 years ago by steve8@…

Correct. Render implemented the wrong way round first and had to be changed over. However, in your example one of the two lower cliffs appears to be rendering wrong as its direction arrow goes the other way. Incidentally there is a man_made=embankment option that renders, which has shorter ticks and comes in a couple of zooms later. Consider using that.

Note: See TracTickets for help on using tickets.