Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] sld Colormap

Hi Andrea,
you will have to wait for an answer from the coverage guys to be sure,
but I think it is not yet possible to apply coverage styles in Udig
1.1.x. This is possible only on trunc. You are using 1.1.x, right?

Ciao
Andrea



On Fri, Jul 11, 2008 at 3:59 PM, iomeneandrei <aborruso@xxxxxx> wrote:
>
> Hi all,
> is it possible to apply a colormap to a tif in uDig. I think yes, but
> probably I have written the wrong code.
> I have written this sld file:
> <?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";>
> <UserLayer>
> <Name>simple</Name>
> <UserStyle>
> <Title>Default Styler</Title>
> <FeatureTypeStyle>
> <Rule>
> <RasterSymbolizer>
> <Opacity>1</Opacity>
> <ColorMap>
> <ColorMapEntry color="#ffffff" quantity="25"/>
> <ColorMapEntry color="#ffffff" quantity="50"/>
> <ColorMapEntry color="#ffffff" quantity="75"/>
> <ColorMapEntry color="#ffd7ff" quantity="0"/>
> <ColorMapEntry color="#ffffff" quantity="125"/>
> <ColorMapEntry color="#ffffff" quantity="150"/>
> <ColorMapEntry color="#ffffff" quantity="175"/>
> <ColorMapEntry color="#ffffff" quantity="200"/>
> </ColorMap>
> </RasterSymbolizer>
> </Rule>
> </FeatureTypeStyle>
> </UserStyle>
> </UserLayer>
> </StyledLayerDescriptor>
>
> I have tried to import it in uDig, but I have no visual result.
>
> Thank you,
>
> Andrea
>
> -----
> Andrea Borruso
>
> ----------------------------------------------------
> email: aborruso@xxxxxx
> blog: http://blog.spaziogis.it
> ----------------------------------------------------
> --
> View this message in context: http://www.nabble.com/sld-Colormap-tp18404503p18404503.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top