oobrien / oomap

OpenOrienteeringMap. Includes the website, tiling scripts, and mapnik stylesheets for OOMap and other raster tile layers.
GNU General Public License v2.0
45 stars 8 forks source link

Contours in PDF rendering are on top of roads, etc #65

Closed cadnant closed 1 year ago

cadnant commented 3 years ago

In web view, contours sit behind roads and similar ways. In the rendered PDF, contours are placed above these ways.

One solution is to change "maptiler/styles/inc/styles_contours.xml.inc" to include comp-op="darken":

<Style name="contours_style" comp-op="darken">
    <Rule>
        <LineSymbolizer stroke="&contour;" stroke-width="0.5"/>
    </Rule>
</Style>

<Style name="contours_style_major" comp-op="darken">
    <Rule>
        <LineSymbolizer stroke="&contour;" stroke-width="1.0" />
    </Rule>
</Style>
cadnant commented 1 year ago

Addressed in #69 using the suggested fix documented here.