Hari, Thanks! My SLD was not valid because right access was forbidden for tomcat user so all modification of my file was always lost.
Thanks again! Y. Le jeudi 15 septembre 2011 07:22:44, Harikumar Reddy a écrit : > Hi, > > The below raster sld is working fine for our application. Try to delete > your browser cache and check the scales in application or Geoserver > preview window. > > ================================================= > > <?xml version="1.0" encoding="ISO-8859-1"?> > <StyledLayerDescriptor version="1.0.0" > xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" > xmlns="http://www.opengis.net/sld" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:xlink="http://www.w3.org/1999/xlink" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <!-- a Named Layer is the basic building block of an SLD document --> > <NamedLayer> > <Name>default_raster</Name> > <UserStyle> > <!-- Styles can have names, titles and abstracts --> > <Title>Default Raster</Title> > <Abstract>A sample style used for displaying imagery</Abstract> > <!-- A FeatureTypeStyle for rendering rasters --> > <FeatureTypeStyle> > <Rule> > <Name>rule1</Name> > <Title>Opaque Raster</Title> > <Abstract>A raster with 100% opacity</Abstract> > <MinScaleDenominator>1</MinScaleDenominator> > <MaxScaleDenominator>75000</MaxScaleDenominator> > <RasterSymbolizer> > <Opacity>1.0</Opacity> > </RasterSymbolizer> > </Rule> > </FeatureTypeStyle> > </UserStyle> > </NamedLayer> > </StyledLayerDescriptor> > > ====================================================================== > > Regards, > Hari. > > On Wed, Sep 14, 2011 at 5:24 PM, Yves Jacolin > > <[email protected]>wrote: > > Hello, > > > > Reading the SLD/SE OGC Standards I can read that Max/MinScaleDenom can be > > used for any symbolizer object. However I can't successfully use them > > with a rasterSymbolizer object. > > > > does GeoServer allow Max/MinScaleDenom for Raster data in SLD? My SLD is > > valid but my raster is always display for any scales. > > > > Thanks, > > > > Y. > > -- > > Responsable Formation et Support > > Camptocamp France SAS > > Savoie Technolac, BP 352 > > 73377 Le Bourget du Lac Cedex > > Tel : + 33 (0)4 79 26 57 97 > > http://www.camptocamp.com > > [email protected] > > > > > > ------------------------------------------------------------------------- > > ----- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > Learn about the latest advances in developing for the > > BlackBerry® mobile platform with sessions, labs & more. > > See new tools and technologies. Register for BlackBerry® DevCon > > today! http://p.sf.net/sfu/rim-devcon-copy1 > > _______________________________________________ > > Geoserver-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : [email protected] http://www.camptocamp.com ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
