Hello Brito,

I'm not sure if it helps as I don't have a real recipe for getting rid of that 
error, but I had the same issue during the last days.

It was actually related to styles having ColorMapEntry-Entries.
Once I assigned the default raster-style or SLDs without ColorMapEntries (e.g. 
contrast enhancement), the data was displayed, with the ColorMapEntries the 
behavior was ecactly as you described.
In the logs was an exception:
RasterClassifier - Parameter value`s class
(it.geosolutions.jaiext.classifier.LinearColorMap) is not an instance of the 
parameter class
(it.geosolutions.jaiext.classifier.ColorMapTransform) for parameter "Domain1D".

But I couldn't find anything related to it.

I ended up cleaning our geoserver, i.e. remove layers which were not needed 
anymore (we're in development right now) and restarting geoserver. The cleaning 
did not help directly, but after the restart everything was OK again. 
Unfortunatly, I did not restart before the cleaning, so maybe that would have 
helped already alone.

If wanted, I could provide some sample data, but it is probably better when you 
share some data.
I'm using geoserver 2.10.2.

Regards
Torsten


--------------------------------------------------------------------------
DEUTSCHE TELEKOM IT GMBH
Technology Solutions
Torsten Drey
Geo-Consultant
Oberkasseler Strasse 2, 53227 Bonn, Germany 
+49 228 181-49621 (Phone)
E-Mail: [email protected] 
Internet: www.telekom.com 
PegaProducts: http://www.pegaware.com/

LIFE IS FOR SHARING.

You can find the obligatory information on 
www.telekom.com/compulsory-statement-dtit
Big changes start small - conserve resources by not printing every e-mail.

Notice: This transmittal and/or attachments may be privileged or confidential. 
It is intended solely for the addressee named above. Any dissemination, or 
copying is strictly prohibited. If you received this transmittal in error, 
please notify us immediately by reply and immediately delete this message and 
all its attachments. Thank you.



-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] 
Gesendet: Freitag, 7. Juli 2017 07:00
An: [email protected]
Betreff: Geoserver-users Digest, Vol 134, Issue 26

Send Geoserver-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/geoserver-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Geoserver-users digest..."


Today's Topics:

   1. Re: Problem with raster visualization (Brad Hards)
   2. Re: Problem with raster visualization (?caro Brito)
   3. Re: Problem with raster visualization (Brad Hards)
   4. Re: Problem with raster visualization (Leonardo Dobles)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Jul 2017 09:10:01 +1000
From: "Brad Hards" <[email protected]>
To: <[email protected]>,       <[email protected]>
Subject: Re: [Geoserver-users] Problem with raster visualization
Message-ID: <[email protected]>

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






------------------------------

Message: 2
Date: Thu, 6 Jul 2017 20:22:51 -0300
From: ?caro Brito <[email protected]>
To: Brad Hards <[email protected]>
Cc: [email protected]
Subject: Re: [Geoserver-users] Problem with raster visualization
Message-ID:
        <CAJ2SkPnVvHTqKJEvr9_niN6tk=tgp1wctogiljnjxckibm0...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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!
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Fri, 7 Jul 2017 10:31:54 +1000
From: "Brad Hards" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Subject: Re: [Geoserver-users] Problem with raster visualization
Message-ID: <[email protected]>

> From: ?caro Brito [mailto:[email protected]]
> Sent: Friday, 7 July 2017 09:23
> To: Brad Hards <[email protected]>
> Cc: [email protected]
> Subject: Re: [Geoserver-users] Problem with raster visualization
>
> 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.
I'm still thinking possibly something invalid about the SLD.

Did it validate OK? Anything related in the geoserver logs?

Brad





------------------------------

Message: 4
Date: Thu, 6 Jul 2017 22:59:16 -0600
From: Leonardo Dobles <[email protected]>
To: ?caro Brito <[email protected]>
Cc: Brad Hards <[email protected]>,
        [email protected]
Subject: Re: [Geoserver-users] Problem with raster visualization
Message-ID:
        <CAEa8-qyV71c6rY4K4Ddp6deyfUu6yNAt5kNbKUA_5yF=-pn...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I would like to help, if you want to, you can send me a sample of the data.

Leonardo Dobles.
Consultor en SIG


On Thu, Jul 6, 2017 at 5:22 PM, ?caro Brito <[email protected]> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

Subject: Digest Footer

_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------

End of Geoserver-users Digest, Vol 134, Issue 26
************************************************

------------------------------------------------------------------------------
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

Reply via email to