MapQuest / MapQuest-Mapnik-Style

MapQuest Branded style for use with Mapnik and OSM
open.mapquest.co.uk
93 stars 25 forks source link

TIFF Overlays not showing above zoom 2 #24

Open agponte opened 8 years ago

agponte commented 8 years ago

Looking at open.mapquest.com I see the TIFF overlays at all zoom levels but after implementing mapquest-us.xml they are not used above zoom 2 and all land is yellow, without any relief (green shaded). Here is a screen shot showing the page with some zoom level 2 and some zoom level 3 tiles - you can easily spot the difference.

Any ideas as to what I could have done wrong here? Thanks!

image

tjwebb commented 8 years ago

Did you solve this? I ran into this also

tjwebb commented 8 years ago

Solution: disable world-raster-4 style, and remove the MinScaleDenominator from world-raster-3 style.

    <Style name="world-raster-3">
        <Rule>
            <!-- <MinScaleDenominator>25000000</MinScaleDenominator> -->
            <MaxScaleDenominator>50000000</MaxScaleDenominator>
            <RasterSymbolizer scaling="bilinear"/>
        </Rule>
    </Style>
<!--
    <Style name="world-raster-4">
        <Rule>
            <MinScaleDenominator>12500000</MinScaleDenominator>
            <MaxScaleDenominator>25000000</MaxScaleDenominator>
            <RasterSymbolizer scaling="bilinear"/>
        </Rule>
    </Style>
-->