Tom Howe ha scritto: > Hi, > I'm moving my code from geotools 2.2.2 to geotools 2.3. For the most > part, I've sort out my issues. The one problem I'm still having is > has to do with rendering and sld. I've set the maxDenominator value > in my sld file. Previously, this was respected, but now all of my > layers are showing up at all scales. Is there another change i need > to make in order to get this to work. Here is some of my sld; > > . . . > > <sld:Rule> > <sld:Name>name</sld:Name> > <sld:Title> </sld:Title> > <sld:Abstract>Abstract</sld:Abstract> > <sld:MaxScaleDenominator>5000.0</sld:MaxScaleDenominator> > <sld:LineSymbolizer>
Tom, thanks for the report. I've played with this a bit, and found that min and max scale limits are working fine (at least on the current geotools 2.3.x branch, but I don't think anything significant changed since 2.3.0 release), but scale is not computed properly on wide area maps (and maybe theres an error in small area ones too, but not as significant as to make your map visible at all scale levels). Can you provide a self contained test case, that is, a main generating an image, the sld and data? Cheers Andrea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
