Hy Brad,
I removed the special character from the "médio" label and it didn't work.
I'm using utf-8 as encoding, it should not be a problem. Curious is that it
works on geoserver 9.2 and does not work on 2.11, with the same settings.
Thank's anyway!
On Thu, Jul 6, 2017 at 8:10 PM, Brad Hards <[email protected]> wrote:
> Does it work without the Médio label (e.g. as Medio)? I'm just guessing,
> but
> perhaps an encoding bug.
>
> Brad
>
> > -----Original Message-----
> > From: Ícaro Brito [mailto:[email protected]]
> > Sent: Friday, 7 July 2017 08:51
> > To: [email protected]
> > Subject: [Geoserver-users] Problem with raster visualization
> >
> > Hello Everyone,
> >
> > I'm trying to publish some raster files in my project. These files are
> > aloccated in
> > "data_dir\coverages\projetos" folder. It works fine with the default
> raster
> > style,
> > but when i try to apply my personal styles (sld), the images are no
> longer
> > displayed in the geoserver's layer viewer. However, if I click where the
> > image
> > suppose be, it returns the pixel values. I mean, the raster is there,
> but it
> > is not
> > displayed correctly (As if it were white or transparent). I've checked
> the
> > SLD file
> > and it's correct. The same SLD works on my local server (geoserver 2.9),
> but
> > it
> > doesn't work on my virtual server (Geoserver 2.11). Any ideas, guys?
> >
> >
> > Here is the SLD code:
> >
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <StyledLayerDescriptor 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"
> > xsi:schemaLocation="http://www.opengis.net/sld
> > http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
> > version="1.0.0">
> > <UserLayer>
> > <Name>Cenario2</Name>
> > <UserStyle>
> > <Name>raster</Name>
> > <FeatureTypeStyle>
> > <FeatureTypeName>Feature</FeatureTypeName>
> > <Rule>
> > <RasterSymbolizer>
> > <ColorMap>
> > <ColorMapEntry color="#FF2600"
> quantity="16"
> > label="Muito baixo" />
> > <ColorMapEntry color="#FFBB00"
> quantity="20"
> > label="Baixo"/>
> > <ColorMapEntry color="#A4C400"
> quantity="24"
> > label="Médio"/>
> > <ColorMapEntry color="#006100"
> quantity="34"
> > label="Alto"/>
> > </ColorMap>
> > </RasterSymbolizer>
> > </Rule>
> > </FeatureTypeStyle>
> > </UserStyle>
> > </UserLayer>
> > </StyledLayerDescriptor>
> >
> >
> >
> > Sorry about my english and thanks.
> >
> >
> > --
> >
> > Ícaro Brito
>
>
>
>
--
Atenciosamente,
Ícaro Brito
Antes de Reciclar, reduza!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users