Baskar, Dhanapal ha scritto: > Andrea, > > I am looking into Geoserver KML subsystem and trying to find solution. > Just clarify few things. > > 1. What actually Geoserver has to do when scale denominator goes out of > scale dependency? Whether it has to show any exception by stopping the > execution or show any message to user.
Just don't execute it. The rendering code strips all the out of scale rules before actually starting to work. > 2. I assume that I have to compare calculated scale denominator value > (this is happening at KMLTransformer.java) at runtime with > <MaxScaleDenominator> value specified in SLD file. Is it right? Right... and it does compute the scale denominator and passes it down to the KMLVectorTransformer that in turn will use it in the filterRules call to shave off the rules that are not valid at the current scale range. However I don't see an equivalent path for raster data... I guess that's what you're trying to fix? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
