OK Andrea, I just opened a bug report
Thanks
Andrea C.
From: Andrea Aime
Sent: Saturday, September 23, 2017 11:24 AM
To: Andrea Caporin
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] ColorMap, WMS Bilinear and GetMap EPSG:3857 does
not work
Hi Andrea,
yes, confirmed, I get a fully black image running a viewer such as:
http://localhost:8080/geoserver/wms/reflect?layers=nurc:Arc_Sample&bbox=-20000000,-20000000,20000000,20000000&srs=EPSG:3857&format=application/openlayers
And this in the logs:
set 23, 2017 11:19:02 AM org.geoserver.GeoserverInitStartupListener$1
errorOccurred
INFORMAZIONI: Problem occurs when computing a tile by the owner.
java.lang.IllegalArgumentException: noData - Could not find the key.
at
com.sun.media.jai.util.CaselessStringArrayTable.indexOf(CaselessStringArrayTable.java:88)
at
com.sun.media.jai.util.CaselessStringArrayTable.indexOf(CaselessStringArrayTable.java:102)
at javax.media.jai.ParameterBlockJAI.indexOfParam(ParameterBlockJAI.java:273)
at javax.media.jai.ParameterBlockJAI.checkParameter(ParameterBlockJAI.java:732)
at javax.media.jai.ParameterBlockJAI.setParameter0(ParameterBlockJAI.java:793)
at javax.media.jai.ParameterBlockJAI.setParameter(ParameterBlockJAI.java:712)
at
it.geosolutions.jaiext.border.BorderDescriptor.create(BorderDescriptor.java:352)
at
it.geosolutions.jaiext.warp.WarpOpImage.getRandomIterator(WarpOpImage.java:470)
at
it.geosolutions.jaiext.warp.WarpOpImage.getRandomIterator(WarpOpImage.java:457)
at
it.geosolutions.jaiext.warp.WarpBilinearOpImage.computeRectByte(WarpBilinearOpImage.java:119)
at it.geosolutions.jaiext.warp.WarpOpImage.computeRect(WarpOpImage.java:285)
at it.geosolutions.jaiext.warp.WarpOpImage.computeTile(WarpOpImage.java:232)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
I believe this has not been noticed because all devs I know that are into image
processing run with JAI-EXT enabled
all the time (both in development and in production), and the above looks like
some error about JAI not recognizing
a JAI-EXT specific parameter.
I've tried to enable JAI-EXT and indeed the map draws fine. See also:
http://docs.geoserver.org/stable/en/user/configuration/image_processing/index.html#jai-ext
Unfortunately JAI-EXT is still not ready for everybody to use (even if
essential in several cases, e.g., no data
treatment, large WCS extractions), so we'll have to fix this one.
Could you be so kind to open a bug report?
Cheers
Andrea
On Fri, Sep 22, 2017 at 6:13 PM, Andrea Caporin <livedolom...@infinito.it>
wrote:
Hello,
since version 2.11.2 and 2.12-beta, SLD ColorMap (nurc:Arc_Sample example)
with WMS Default Interpolation set to Bilinear or Bicubic is no longer rendered
from GetMap with map output SRS EPSG:3857 (using SRS EPSG:4326 works well).
Did anyone notice this?
Andrea Caporin
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,
Andrea Aime
==
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 di Montramito 3/A
55054 Massarosa (LU)
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.
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users