Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Natural=marsh not rendered on Mapnik layer #1477

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Natural=marsh not rendered on Mapnik layer #1477

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: nigelbee
[Submitted to the original trac issue database at 2.33pm, Sunday, 11th January 2009]

Areas such as the [http://www.wwt.org.uk/centre/119/visit/wetlandcentre/.html 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.

@openstreetmap-trac
Copy link
Author

Author: nigelbee
[Added to the original trac issue at 8.08pm, Sunday, 11th January 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 8.35pm, Sunday, 11th January 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 5.22pm, Thursday, 22nd January 2009]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant