Yes, the suggestion should work.

Regards,
Nicola Lagomarsini.

2015-02-13 14:39 GMT+01:00 Łukasz Łagosz <[email protected]>:

> Hi Nicola
> We have Geoserver version 2.5.4 :/
> Is in that version your suggestion will work too ?
>
> Łukasz
>
> 2015-02-13 14:35 GMT+01:00 Nicola Lagomarsini <
> [email protected]>:
>
>> Hi Lukasz,
>>
>> your issue should be related to a wrong TIFF reader used by the
>> ImageMosaic format.
>> Could you please try to change the SuggestedSPI parameter inside the
>> [mosaicname].properties file generated by GeoServer by setting
>> "it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpi".
>> This bug has been fixed from the 2.6.2 version of GeoServer.
>>
>> Hope this helps.
>>
>> Regards,
>> Nicola Lagomarsini.
>>
>> 2015-02-13 14:19 GMT+01:00 Łukasz Łagosz <[email protected]>:
>>
>>> Hi
>>> I have just tried to load one a little big raster to my imageMosaic
>>> datastore. But on preview in WMS I've got an error:
>>> "java.lang.IllegalArgumentException: width*height > Integer.MAX_VALUE!"
>>>
>>> Raster indeed has a width: 62699 and height: 77536 and a multiplication
>>> of this numbers : 48614735533
>>> exceeds an Int value, but why Geoserver uses ony Int to count the
>>> resolution of the raster file ?
>>>
>>> Any help, what can I do with it ??
>>>
>>> full stack trace of that error:
>>>
>>> java.lang.IllegalArgumentException: width*height > Integer.MAX_VALUE!
>>>     at javax.imageio.ImageReader.getDestination(ImageReader.java:2823)
>>>     at
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1154)
>>>     at
>>> com.sun.media.jai.imageioimpl.ImageReadOpImage.computeTile(ImageReadOpImage.java:697)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085)
>>>     at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2440)
>>>     at javax.media.jai.ScaleOpImage.computeTile(ScaleOpImage.java:1255)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at javax.media.jai.NullOpImage.computeTile(NullOpImage.java:162)
>>>     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)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at
>>> org.geotools.image.crop.GTCropOpImage.getTile(GTCropOpImage.java:79)
>>>     at
>>> com.sun.media.jai.opimage.BandSelectOpImage.computeTile(BandSelectOpImage.java:120)
>>>     at
>>> com.sun.media.jai.opimage.BandSelectOpImage.getTile(BandSelectOpImage.java:144)
>>>     at
>>> com.sun.media.jai.iterator.RectIterFallback.setDataBuffer(RectIterFallback.java:167)
>>>     at
>>> com.sun.media.jai.iterator.RectIterFallback.<init>(RectIterFallback.java:147)
>>>     at
>>> javax.media.jai.iterator.RectIterFactory.create(RectIterFactory.java:90)
>>>     at
>>> org.geotools.renderer.lite.gridcoverage2d.RasterClassifier.computeRect(RasterClassifier.java:158)
>>>     at javax.media.jai.OpImage.computeTile(OpImage.java:1221)
>>>     at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:728)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at javax.media.jai.NullOpImage.computeTile(NullOpImage.java:162)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at javax.media.jai.PlanarImage.cobbleByte(PlanarImage.java:2850)
>>>     at javax.media.jai.PlanarImage.getData(PlanarImage.java:2169)
>>>     at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2440)
>>>     at
>>> com.sun.media.jai.opimage.MosaicOpImage.computeTile(MosaicOpImage.java:432)
>>>     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:962)
>>>     at
>>> com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
>>>     at javax.media.jai.OpImage.getTile(OpImage.java:1129)
>>>     at javax.media.jai.PlanarImage.cobbleByte(PlanarImage.java:2850)
>>>     at javax.media.jai.PlanarImage.getData(PlanarImage.java:2169)
>>>     at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
>>>     at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
>>>     at
>>> com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:396)
>>>     at
>>> com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:340)
>>>     at org.geotools.image.ImageWorker.writeJPEG(ImageWorker.java:2749)
>>>     at
>>> org.geoserver.wms.map.JPEGMapResponse.formatImageOutputStream(JPEGMapResponse.java:70)
>>>     at
>>> org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:123)
>>>     at org.geoserver.ows.Dispatcher.response(Dispatcher.java:936)
>>>     at
>>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:277)
>>>     at
>>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>>>     at
>>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>>>     at
>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
>>>     at
>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
>>>     at
>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
>>>     at
>>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
>>>     at
>>> org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
>>>     at
>>> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
>>>     at
>>> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>     at
>>> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
>>>     at
>>> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>     at
>>> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>     at
>>> org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>     at
>>> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>>>     at
>>> org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>     at
>>> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>>>     at
>>> org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>     at
>>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>>>     at
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>     at
>>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
>>>     at
>>> org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
>>>     at
>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>>>     at
>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>     at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>     at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>     at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>     at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>>>     at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>     at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>>>     at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
>>>     at
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
>>>     at
>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>>     at java.lang.Thread.run(Thread.java:662)
>>>
>>> Łukasz
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming. The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/NWWaa2 for more information.
>> ==
>>
>> Ing. Nicola Lagomarsini
>> Junior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:   +39 0584 1660272
>>
>> 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.
>>
>
>


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Nicola Lagomarsini
Junior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 1660272

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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to