[Geoserver-users] KML scaledenominators

Hi guys,

Can anyone give me a brief on the current behaviour of KML and SLD scaledenominators?

By the look of the code and in my experience, Geoserver ignores the scale values in the output which makes for some interesting results! The KMScore "helps", but it is certainly not a replacement for view scales!

I'm currently serving up 1.5million cadastral parcels. Without the scale restrictions, geoserver dies a horrible death :slight_smile:

Geoserver 1.5.3
Tomcat 5.5
JDK 1.6
Example sld snippet ..
      <Rule>
        <MinScaleDenominator>1</MinScaleDenominator>
        <MaxScaleDenominator>30000</MaxScaleDenominator>
        <PolygonSymbolizer>
...

Anyone had similar problems? Am i doing something stupid?

--
Chris Tweedie

Hi Chris,

KML does take scale denominators on SLD's into account. Although
investigating I did not some bad behavior. It seems what even when all
rules/styles are filtered out due to scale, the feautres / placemarks
are still returned, and the result is no styling (white polygons in the
case i tested).

I think the correct behavior would be to not return features all
together when no rules apply in the SLD. I have created a jira issue for
this.

http://jira.codehaus.org/browse/GEOS-1368

-Justin

Chris Tweedie wrote:

Hi guys,

Can anyone give me a brief on the current behaviour of KML and SLD scaledenominators?

By the look of the code and in my experience, Geoserver ignores the scale values in the output which makes for some interesting results! The KMScore "helps", but it is certainly not a replacement for view scales!

I'm currently serving up 1.5million cadastral parcels. Without the scale restrictions, geoserver dies a horrible death :slight_smile:

Geoserver 1.5.3
Tomcat 5.5
JDK 1.6
Example sld snippet ..
      <Rule>
        <MinScaleDenominator>1</MinScaleDenominator>
        <MaxScaleDenominator>30000</MaxScaleDenominator>
        <PolygonSymbolizer>
...

Anyone had similar problems? Am i doing something stupid?

--
Chris Tweedie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4701c76693553327367457!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org