Opened 11 years ago

Closed 10 years ago

#1477 closed enhancement (fixed)

Natural=marsh not rendered on Mapnik layer

Reported by: nigelbee Owned by: steve8@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

Areas such as the London Wetland Centre:

http://www.openstreetmap.org/?lat=51.47877&lon=-0.23061&zoom=16&layers=B000FTF

would look much more interesting and distinctive if marshes were rendered. This happens in the Osmarender layer but not currently in the Mapnik layer.

Attachments (1)

marsh.png (1.7 KB) - added by nigelbee 11 years ago.
30px * 30px marsh pattern on a transparent background

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by nigelbee

Component: adminmapnik
Owner: changed from Tom Hughes to steve8@…
Priority: majorminor

comment:2 Changed 11 years ago by nigelbee

A new rule needs to be added after the [natural]='wood' rule:

    <Rule>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <Filter>[natural] = 'marsh'</Filter>
      <PolygonPatternSymbolizer file= "c:/mapnik/symbols/marsh.png" type="png" width="30" height="30"/>
    </Rule>

I enclose a marsh.png file, prepared from the Osmarender SVG pattern but converted into a 30px * 30px .png file with a transparent background.

Changed 11 years ago by nigelbee

Attachment: marsh.png added

30px * 30px marsh pattern on a transparent background

comment:3 Changed 11 years ago by steve8@…

OK to do in theory, but mapnik does not respect "layer" as such. Needs to be explicitly filtered for. As it stands the tagging at LWC would not work for mapnik. First point is that areas that are at "ground level" should NOT really be tagged as layer 1 and layer 2. Secondly the areas within areas should be tagged as a multipolygon relation. I will have a look at the png and try it on another area sometime though.

comment:4 Changed 10 years ago by steve8@…

Resolution: fixed
Status: newclosed

Done in this week's render. Going to tweak the symbol to get rid of the white bits (next week)

Note: See TracTickets for help on using tickets.