[Mapbender-users] legend shows out-of-scale style

Tilo Wütherich tilo.wuetherich at la-bw.de
Mon Jan 28 05:21:37 EST 2008


Hi All,

this is probably more a SLD-issue. I use a scale-sensitive SLD as below. But
the legend always shows both lines. The overview is in range of rule 2, but
even if I disable it, both symbols are shown.

I'm using MB 2.4.2 and Geoserver 1.5.3. Does anybody know some help?

Best regards,

Tilo

-------------------

      <FeatureTypeStyle>
        <Rule>
          <Name>Rule 1</Name>
          <Title>Kreisgrenze</Title>
          <MinScaleDenominator>100</MinScaleDenominator>
          <MaxScaleDenominator>1000000</MaxScaleDenominator>

          <LineSymbolizer>
            <Stroke>
              <CssParameter name="stroke">#B4B6D6</CssParameter>
              <CssParameter name="stroke-width">2</CssParameter>
            </Stroke>
          </LineSymbolizer>
        </Rule>

        <Rule>
          <MinScaleDenominator>1000001</MinScaleDenominator>
          <MaxScaleDenominator>10000000</MaxScaleDenominator>

          <LineSymbolizer>
            <Stroke>
              <CssParameter name="stroke">#7A7AB7</CssParameter>
              <CssParameter name="stroke-width">1</CssParameter>
            </Stroke>
          </LineSymbolizer>
        </Rule>

---------------------



More information about the Mapbender_users mailing list