Thanks for taking a look Andrea! Indeed, a grayscale image with no color
map being applied, just using the default raster style from GeoServer.

I’ll try to cut the dataset down to something easily downloadable so I can
include in the ticket.

Thanks again!

On Thu, Nov 12, 2015 at 11:42 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi Justin,
> had a very quick look, it seems like a gray image  and no colormap was
> supplied for it?
> A bug nevertheless, would be nice if you could open a ticket with enough
> data to reproduce the issue.
>
> We are progressively abandoning support for native JAI btw (as we cannot
> do anything about some of its bugs), that might be part of the problem.
>
> Cheers
> Andrea
>
> On Thu, Nov 12, 2015 at 7:33 PM, Justin Deoliveira <jdeol...@gmail.com>
> wrote:
>
>> Hi folks,
>>
>> I’m working on a project where GeoServer is serving up a mosaic of
>> Geotiffs and I’m running into some issues.
>>
>> First off, the server is running version 2.8.0 and the mosaic renders but
>> when zooming into higher resolutions ImageWorker starts to throw
>> exceptions. Here is the stack trace, which seems to be a simple index out
>> of bounds exception:
>>
>>
>> https://gist.github.com/jdeolive/21578d8307659ea88d96#file-2-8-0-stack-trace
>>
>> So my first inclination was to upgrade to the latest 2.8.x, and when
>> looking at that line of code I noticed that it had been addressed. But when
>> I deploy the 2.8.x snapshot the mosaic no longer renders at all, with the
>> following exception:
>>
>>
>> https://gist.github.com/jdeolive/21578d8307659ea88d96#file-2-8-x-stack-trace
>>
>> So… for now what I’ve done is reverted back to 2.8.0 but back ported the
>> patch that adds the size check:
>>
>>
>> https://gist.github.com/jdeolive/21578d8307659ea88d96#file-imageworker-java
>>
>> And with that the mosaic renders, at all zooms.
>>
>> Not sure if it is a configuration issue on my end or a bug but thought I
>> would post here first. The raster masters can let me know if they want me
>> to throw this into a bug report.
>>
>> Some additional info:
>>
>> gdalinfo on one of the mosaic tiles:
>>
>>   https://gist.github.com/jdeolive/21578d8307659ea88d96#file-gdalinfo
>>
>> System info:
>>
>> - Linux 64 bit
>> - Oracle Java 7 / Tomcat 7 with native JAI extensions installed
>>
>> Let me know if I can provide any more info.
>>
>> -Justin
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to