[Geoserver-users] Must zoom very close to show a mosaic with GS 2.6-RC1

Hi,

This error happens if I have external GDAL overview files (.ovr) in the image mosaic directory. It I remove overview files the mosaic shows at all scales without errors and it I create similar overviews as internal the mosaic works again.

I have created external overviews with command

gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR image.tif 2 4 8 16 32 64

When the image mosaic is created the external overviews are obviously found because .properties file is listing them:

Levels=0.5,0.5 1.0,1.0 2.0,2.0 4.0,4.0 8.0,8.0 16.0,16.0 31.914893617021278,31.914893617021278

Problem seems to related to reading the external overviews for rendering. I guess than only internal overviews are searched.

-Jukka Rahkonen-

image001.png

···

Nicola Lagomarsini wrote:

Hi Chris,

yes, the TIFFImageReader also affects 2.5.2 but I should investigate more deeply for checking if it is the cause of your issue. If you can provide a sample data I will try to replicate it.

Regards,

Nicola Lagomarsini.

2014-09-24 17:54 GMT+02:00 Chris Snider <chris.snider@…3225…>:

Does this TIFFImageReader affect GS 2.5.2 as well?

We have been testing an image processing workflow converting MrSID files to GeoTIFF with alpha and masks being applied. When we add the overviews, we get good output until we hit at/near the “native” resolution of the GeoTiffs. At that zoom, we get the mask itself instead of the image. Zooming past the “native” resolution again shows the image with the beginnings of pixilation as expected.

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@...5633...

From: Nicola Lagomarsini [mailto:nicola.lagomarsini@…1107…]
Sent: Wednesday, September 24, 2014 8:11 AM
To: Andrea Aime
Cc: Rahkonen Jukka (Tike); Geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Must zoom very close to show a mosaic with GS 2.6-RC1

Hi all,

I noticed that the ImageMosaic is using a wrong TIFF reader (com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader), which could be the cause of the issue.

I have already opened a JIRA for this: https://jira.codehaus.org/browse/GEOS-6627. I have fixed it on the master branch, it needs to be backported. Could

you try to do the same test with GeoServer master?

Regards,

Nicola Lagomarsini.

2014-09-24 15:47 GMT+02:00 Andrea Aime <andrea.aime@…1107…>:

Hi Jukka,

this issue is not familar to me, and I’ve played with mosaics using a recent GS release.

Can you share just enough data to reproduce the problem?

Cheers

Andrea

On Wed, Sep 24, 2014 at 3:29 PM, Rahkonen Jukka (Tike) <jukka.rahkonen@…486…> wrote:

Hi,

As a side effect when trying to help Ville I noticed that if I make an image mosaic from two aerial images (6 by 6 km each) I must zoom in to about 300 by 300 m box before the map shows. The attached image show the extents of the mosaic (it is the index shapefile from the Geoserver data_dir) and with little red boxes how close I must zoom before image is shown. At smaller scales the log collects this:

2014-09-24 16:22:37,871 DEBUG [gce.imagemosaic] - We added the granule Description of a granuleDescriptor
BBOX: ReferencedEnvelope[500000.0 : 506000.0, 6834000.0 : 6840000.0]
file: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/SKM_2014_M163_TM35_M5221A.TIF
gridToWorld: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 0.5],
PARAMETER[“elt_0_2”, 500000.25],
PARAMETER[“elt_1_1”, -0.5],
PARAMETER[“elt_1_2”, 6839999.75]]
Description of level 2
Description of a granuleDescriptor level
width: 12000
height: 12000
scaleX: 1.0
scaleY: 1.0
baseToLevelTransform: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3]]
gridToWorldTransform: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 0.5],
PARAMETER[“elt_0_2”, 500000.0],
PARAMETER[“elt_1_1”, -0.5],
PARAMETER[“elt_1_2”, 6840000.0]]

2014-09-24 16:22:37,890 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.shp by org.geotools.data.shapefile.shp.ShapefileReader
2014-09-24 16:22:37,891 TRACE [data.shapefile] - Shapefile Reader has been closed. Number open: 0
2014-09-24 16:22:37,891 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.dbf by org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2014-09-24 16:22:37,891 TRACE [data.shapefile] - Dbase File Reader has been closed. Number open: 0
2014-09-24 16:22:37,892 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.shx by org.geotools.data.shapefile.shp.IndexFile
2014-09-24 16:22:37,905 TRACE [data.shapefile] - IndexFile has been closed. Number open: 0
2014-09-24 16:22:37,905 DEBUG [gce.imagemosaic] - Producing the final mosaic, step 1, loop through granule collectors
2014-09-24 16:22:37,906 DEBUG [gce.imagemosaic] - Using collector with filter:Filter.INCLUDE
2014-09-24 16:22:37,907 INFO [gce.imagemosaic] - Adding to mosaic failed, original request was RasterLayerRequest description:
SpatialRequestHelper [requestedBBox=ReferencedEnvelope[501435.5270982131 : 502696.30819774553, 6836387.606198041 : 6837337.998922307], cropBBox=ReferencedEnvelope[501435.5270982131 : 502696.30819774553, 6836387.606198041 : 6837337.998922307], requestedRasterArea=java.awt.Rectangle[x=0,y=0,width=459,height=346], destinationRasterArea=java.awt.Rectangle[x=0,y=0,width=459,height=346], requestCRS=PROJCS[“ETRS89 / TM35FIN(E,N)”,
GEOGCS[“ETRS89”,
DATUM[“European Terrestrial Reference System 1989”,
SPHEROID[“GRS 1980”, 6378137.0, 298.257222101, AUTHORITY[“EPSG”,“7019”]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY[“EPSG”,“6258”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4258”]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“central_meridian”, 27.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 500000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“3067”]], requestedGridToWorld=PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 2.746799781116427],
PARAMETER[“elt_0_2”, 501436.90049810364],
PARAMETER[“elt_1_1”, -2.7467997811164038],
PARAMETER[“elt_1_2”, 6837336.625522416]], requestedResolution=[2.746799781116427, 2.7467997811164038], coverageProperties=org.geotools.gce.imagemosaic.SpatialRequestHelper$CoverageProperties@…6687…, accurateResolution=false, empty=false, needsReprojection=false, ]
ReadType=JAI_IMAGEREAD
2014-09-24 16:22:37,940 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast path
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:338)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:258)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:130)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:510)
at org.geoserver.wms.GetMap.run(GetMap.java:254)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:329)
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:62)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:36)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:74)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy68.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:792)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:274)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: org.geoserver.platform.ServiceException: org.geotools.data.DataSourceException: Unable to create this mosaic
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:939)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:336)
… 105 more
Caused by: org.geotools.data.DataSourceException: Unable to create this mosaic
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1390)
at org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:1228)
at org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:1194)
at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1143)
at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:863)
at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:842)
at org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:147)
at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:221)
at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:211)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:419)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverages(GridCoverageReaderHelper.java:205)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:773)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:743)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:852)
… 106 more
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:512)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.access$2400(RasterLayerResponse.java:340)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.produce(RasterLayerResponse.java:1064)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.access$3100(RasterLayerResponse.java:883)
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1342)
… 119 more
Caused by: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:447)
… 123 more
Caused by: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:307)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getWidth(TIFFImageReader.java:512)
at org.geotools.gce.imagemosaic.Utils.getDimension(Utils.java:751)
at org.geotools.gce.imagemosaic.GranuleDescriptor.getLevel(GranuleDescriptor.java:981)
at org.geotools.gce.imagemosaic.GranuleDescriptor.loadRaster(GranuleDescriptor.java:728)
at org.geotools.gce.imagemosaic.GranuleLoader.call(GranuleLoader.java:110)
at org.geotools.gce.imagemosaic.GranuleLoader.call(GranuleLoader.java:41)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.accept(RasterLayerResponse.java:406)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.access$2200(RasterLayerResponse.java:340)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.visit(RasterLayerResponse.java:1017)
at org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog$1.visit(CachingDataStoreGranuleCatalog.java:192)
at org.geotools.data.store.ContentFeatureSource.accepts(ContentFeatureSource.java:696)
at org.geotools.data.store.ContentFeatureCollection.accepts(ContentFeatureCollection.java:120)
at org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog.getGranuleDescriptors(CachingDataStoreGranuleCatalog.java:158)
at org.geotools.gce.imagemosaic.RasterManager.getGranuleDescriptors(RasterManager.java:1153)
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1339)
… 119 more

-Jukka Rahkonen-


Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.



Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
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.

On Thu, Sep 25, 2014 at 10:16 AM, Rahkonen Jukka (Tike) <
jukka.rahkonen@anonymised.com> wrote:

Hi,

This error happens if I have external GDAL overview files (.ovr) in the
image mosaic directory. It I remove overview files the mosaic shows at all
scales without errors and it I create similar overviews as internal the
mosaic works again.

I have created external overviews with command

gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW
YCBCR image.tif 2 4 8 16 32 64

When the image mosaic is created the external overviews are obviously
found because .properties file is listing them:

Levels=0.5,0.5 1.0,1.0 2.0,2.0 4.0,4.0 8.0,8.0 16.0,16.0
31.914893617021278,31.914893617021278

Problem seems to related to reading the external overviews for rendering.
I guess than only internal overviews are searched.

Hum yes, as far as I know the image mosaic code was never able to use
external overviews, we have support for those only in the plain
geotiff and world image reader (which mosaic does not use, for performance
reasons it goes down directly to the JAI low level reader)

Simone/Daniele should know more about this.

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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.

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

Hi,
Andrea is right.

There is support for GeoTiff and WorldImageReader only, which are GeoTools readers.

ImageMosaic does data access using low level ImageReaders, not the GeoTools ones, therefore that GeoTiff reader capability isn’t used on ImageMosaic machinery.

There is a JIRA to add support for external overviews on other raster formats (so ImageMosaic too).
https://jira.codehaus.org/browse/GEOT-3662

Hope this helps.
Daniele

···

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

Ing. Daniele Romagnoli
Senior 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.

On Thu, Sep 25, 2014 at 10:29 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Thu, Sep 25, 2014 at 10:16 AM, Rahkonen Jukka (Tike) <jukka.rahkonen@anonymised.com> wrote:

Hi,

This error happens if I have external GDAL overview files (.ovr) in the image mosaic directory. It I remove overview files the mosaic shows at all scales without errors and it I create similar overviews as internal the mosaic works again.

I have created external overviews with command

gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR image.tif 2 4 8 16 32 64

When the image mosaic is created the external overviews are obviously found because .properties file is listing them:

Levels=0.5,0.5 1.0,1.0 2.0,2.0 4.0,4.0 8.0,8.0 16.0,16.0 31.914893617021278,31.914893617021278

Problem seems to related to reading the external overviews for rendering. I guess than only internal overviews are searched.

Hum yes, as far as I know the image mosaic code was never able to use external overviews, we have support for those only in the plain
geotiff and world image reader (which mosaic does not use, for performance reasons it goes down directly to the JAI low level reader)

Simone/Daniele should know more about this.

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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.


Unfortunately, I am not able to share the source images that we have been working with. When I have time next week, I will try to find some opensource images that exhibit the same behavior. I can, however, share the commands that we used.

I know the issue showed for some with external overviews, we use internal overviews.

These are the commands I use to generate the files.

first (the original files are SID format that are not 4326; we warp the original SID file to GeoTIFF 4326, generated with external masks

image001.png

···


nearblack -of GTiff -near 2 -nb 0 -setmask -setalpha -co TILED=YES --config GDAL_CACHE_MAX 768 -o /mnt/data/2/library/ntc_alphamask/m_3511643_sw_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/1/library/m_3511643_sw_11_1_20100613.sid.4326.tif



nearblack -of GTiff -near 2 -nb 0 -setmask -setalpha -co TILED=YES --config GDAL_CACHE_MAX 768 -o /mnt/data/2/library/ntc_alphamask/m_3511651_ne_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/1/library/m_3511651_ne_11_1_20100613.sid.4326.tif



nearblack -of GTiff -near 2 -nb 0 -setmask -setalpha -co TILED=YES --config GDAL_CACHE_MAX 768 -o /mnt/data/2/library/ntc_alphamask/m_3511651_nw_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/1/library/ m_3511651_nw_11_1_20100613.sid.4326.tif



nearblack -of GTiff -near 2 -nb 0 -setmask -setalpha -co TILED=YES --config GDAL_CACHE_MAX 768 -o /mnt/data/2/library/ntc_alphamask/m_3511643_se_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/1/library/ m_3511643_se_11_1_20100613.sid.4326.tif

Overviews



gdaladdo -r gauss --config GDAL_CACHEMAX 768 --config COMPRESS_OVERVIEW LZW --config OVERVIEW_PREDICTOR 2 /mnt/data/2/library/ntc_alphamask/m_3511643_sw_11_1_20100613.sid.4326.alphamsk.tif 2 4 8 16 32 64 128



gdaladdo -r gauss --config GDAL_CACHEMAX 768 --config COMPRESS_OVERVIEW LZW --config OVERVIEW_PREDICTOR 2 /mnt/data/2/library/ntc_alphamask/m_3511651_ne_11_1_20100613.sid.4326.alphamsk.tif 2 4 8 16 32 64 128



gdaladdo -r gauss --config GDAL_CACHEMAX 768 --config COMPRESS_OVERVIEW LZW --config OVERVIEW_PREDICTOR 2 /mnt/data/2/library/ntc_alphamask/m_3511651_nw_11_1_20100613.sid.4326.alphamsk.tif 2 4 8 16 32 64 128



gdaladdo -r gauss --config GDAL_CACHEMAX 768 --config COMPRESS_OVERVIEW LZW --config OVERVIEW_PREDICTOR 2 /mnt/data/2/library/ntc_alphamask/m_3511643_se_11_1_20100613.sid.4326.alphamsk.tif 2 4 8 16 32 64 128

Compress



gdal_translate -of GTiff --config GDAL_CACHEMAX 768 -co TILED=YES -co COMPRESS=LZW -co PREDICTOR=2 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COPY_SRC_OVERVIEWS=YES /mnt/data/2/library/nbtests/ntc_alphamask_lzw_ovr/m_3511643_sw_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/2/library/ntc_alphamask_lzw_lzw_ovr/m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif



gdal_translate -of GTiff --config GDAL_CACHEMAX 768 -co TILED=YES -co COMPRESS=LZW -co PREDICTOR=2 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COPY_SRC_OVERVIEWS=YES /mnt/data/2/library/nbtests/ntc_alphamask_lzw_ovr/m_3511651_ne_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/2/library/ntc_alphamask_lzw_lzw_ovr/m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif



gdal_translate -of GTiff --config GDAL_CACHEMAX 768 -co TILED=YES -co COMPRESS=LZW -co PREDICTOR=2 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COPY_SRC_OVERVIEWS=YES /mnt/data/2/library/nbtests/ntc_alphamask_lzw_ovr/m_3511651_nw_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/2/library/ntc_alphamask_lzw_lzw_ovr/m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif



gdal_translate -of GTiff --config GDAL_CACHEMAX 768 -co TILED=YES -co COMPRESS=LZW -co PREDICTOR=2 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COPY_SRC_OVERVIEWS=YES /mnt/data/2/library/nbtests/ntc_alphamask_lzw_ovr/m_3511643_se_11_1_20100613.sid.4326.alphamsk.tif /mnt/data/2/library/ntc_alphamask_lzw_lzw_ovr/m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif

The final folder, /mnt/data/2/library/ntc_alphamask_lzw_lzw_ovr, is where we point the image mosaic plugin.

The generated properties file contents:

#-Automagically created from GeoTools-

#Fri Sep 12 18:35:31 GMT 2014

Levels=9.872874985361126E-6,9.872874985361126E-6 1.9745749970722252E-5,1.9742893236062137E-5 3.948029349991742E-5,3.9485786472124275E-5 7.896058699983484E-5,7.897157294424855E-5 1.5774212504955667E-4,1.579431458884971E-4 3.147704848273959E-4,3.158862917769942E-4 6.267051995212117E-4,6.317725835539884E-4 0.0012422192347652588,0.0012635451671079768

Heterogeneous=true

AbsolutePath=false

Name=ntc_alphamask_lzw_lzw_ovr

TypeName=ntc_alphamask_lzw_lzw_ovr

Caching=false

ExpandToRGB=false

LocationAttribute=location

SuggestedSPI=com.sun.media.imageioimpl.plugins.tiff.TIFFImageReaderSpi

CheckAuxiliaryMetadata=false

LevelsNum=8

Gdalinfo

gdalinfo m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif

Driver: GTiff/GeoTIFF

Files: m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

Size is 7058, 6920

Coordinate System is:

GEOGCS[“WGS 84”,

DATUM[“WGS_1984”,

SPHEROID[“WGS 84”,6378137,298.257223563,

AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”,0],

UNIT[“degree”,0.0174532925199433],

AUTHORITY[“EPSG”,“4326”]]

Origin = (-116.691062837404260,35.315395700933692)

Pixel Size = (0.000009871719474,-0.000009871719474)

Metadata:

AREA_OR_POINT=Area

Image Structure Metadata:

COMPRESSION=LZW

INTERLEAVE=PIXEL

Corner Coordinates:

Upper Left (-116.6910628, 35.3153957) (116d41’27.83"W, 35d18’55.42"N)

Lower Left (-116.6910628, 35.2470834) (116d41’27.83"W, 35d14’49.50"N)

Upper Right (-116.6213882, 35.3153957) (116d37’17.00"W, 35d18’55.42"N)

Lower Right (-116.6213882, 35.2470834) (116d37’17.00"W, 35d14’49.50"N)

Center (-116.6562255, 35.2812396) (116d39’22.41"W, 35d16’52.46"N)

Band 1 Block=512x512 Type=Byte, ColorInterp=Red

Overviews: 3529x3460, 1765x1730, 883x865, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 2 Block=512x512 Type=Byte, ColorInterp=Green

Overviews: 3529x3460, 1765x1730, 883x865, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 3 Block=512x512 Type=Byte, ColorInterp=Blue

Overviews: 3529x3460, 1765x1730, 883x865, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 4 Block=512x512 Type=Byte, ColorInterp=Alpha

Overviews: 3529x3460, 1765x1730, 883x865, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

gdalinfo m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif

Driver: GTiff/GeoTIFF

Files: m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

Size is 7046, 6911

Coordinate System is:

GEOGCS[“WGS 84”,

DATUM[“WGS_1984”,

SPHEROID[“WGS 84”,6378137,298.257223563,

AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”,0],

UNIT[“degree”,0.0174532925199433],

AUTHORITY[“EPSG”,“4326”]]

Origin = (-116.753518404261229,35.315359037309236)

Pixel Size = (0.000009872874985,-0.000009872874985)

Metadata:

AREA_OR_POINT=Area

Image Structure Metadata:

COMPRESSION=LZW

INTERLEAVE=PIXEL

Corner Coordinates:

Upper Left (-116.7535184, 35.3153590) (116d45’12.67"W, 35d18’55.29"N)

Lower Left (-116.7535184, 35.2471276) (116d45’12.67"W, 35d14’49.66"N)

Upper Right (-116.6839541, 35.3153590) (116d41’ 2.23"W, 35d18’55.29"N)

Lower Right (-116.6839541, 35.2471276) (116d41’ 2.23"W, 35d14’49.66"N)

Center (-116.7187363, 35.2812433) (116d43’ 7.45"W, 35d16’52.48"N)

Band 1 Block=512x512 Type=Byte, ColorInterp=Red

Overviews: 3523x3456, 1762x1728, 881x864, 441x432, 221x216, 111x108, 56x54

Mask Flags: PER_DATASET

Band 2 Block=512x512 Type=Byte, ColorInterp=Green

Overviews: 3523x3456, 1762x1728, 881x864, 441x432, 221x216, 111x108, 56x54

Mask Flags: PER_DATASET

Band 3 Block=512x512 Type=Byte, ColorInterp=Blue

Overviews: 3523x3456, 1762x1728, 881x864, 441x432, 221x216, 111x108, 56x54

Mask Flags: PER_DATASET

Band 4 Block=512x512 Type=Byte, ColorInterp=Alpha

Overviews: 3523x3456, 1762x1728, 881x864, 441x432, 221x216, 111x108, 56x54

Mask Flags: PER_DATASET

gdalinfo m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif

Driver: GTiff/GeoTIFF

Files: m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

Size is 7059, 6921

Coordinate System is:

GEOGCS[“WGS 84”,

DATUM[“WGS_1984”,

SPHEROID[“WGS 84”,6378137,298.257223563,

AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”,0],

UNIT[“degree”,0.0174532925199433],

AUTHORITY[“EPSG”,“4326”]]

Origin = (-116.691057906324772,35.252890026569027)

Pixel Size = (0.000009868690930,-0.000009868690930)

Metadata:

AREA_OR_POINT=Area

Image Structure Metadata:

COMPRESSION=LZW

INTERLEAVE=PIXEL

Corner Coordinates:

Upper Left (-116.6910579, 35.2528900) (116d41’27.81"W, 35d15’10.40"N)

Lower Left (-116.6910579, 35.1845888) (116d41’27.81"W, 35d11’ 4.52"N)

Upper Right (-116.6213948, 35.2528900) (116d37’17.02"W, 35d15’10.40"N)

Lower Right (-116.6213948, 35.1845888) (116d37’17.02"W, 35d11’ 4.52"N)

Center (-116.6562264, 35.2187394) (116d39’22.41"W, 35d13’ 7.46"N)

Band 1 Block=512x512 Type=Byte, ColorInterp=Red

Overviews: 3530x3461, 1765x1731, 883x866, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 2 Block=512x512 Type=Byte, ColorInterp=Green

Overviews: 3530x3461, 1765x1731, 883x866, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 3 Block=512x512 Type=Byte, ColorInterp=Blue

Overviews: 3530x3461, 1765x1731, 883x866, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 4 Block=512x512 Type=Byte, ColorInterp=Alpha

Overviews: 3530x3461, 1765x1731, 883x866, 442x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

gdalinfo m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif

Driver: GTiff/GeoTIFF

Files: m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

Size is 7048, 6913

Coordinate System is:

GEOGCS[“WGS 84”,

DATUM[“WGS_1984”,

SPHEROID[“WGS 84”,6378137,298.257223563,

AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”,0],

UNIT[“degree”,0.0174532925199433],

AUTHORITY[“EPSG”,“4326”]]

Origin = (-116.753509580714450,35.252853245491274)

Pixel Size = (0.000009869711997,-0.000009869711997)

Metadata:

AREA_OR_POINT=Area

Image Structure Metadata:

COMPRESSION=LZW

INTERLEAVE=PIXEL

Corner Coordinates:

Upper Left (-116.7535096, 35.2528532) (116d45’12.63"W, 35d15’10.27"N)

Lower Left (-116.7535096, 35.1846239) (116d45’12.63"W, 35d11’ 4.65"N)

Upper Right (-116.6839479, 35.2528532) (116d41’ 2.21"W, 35d15’10.27"N)

Lower Right (-116.6839479, 35.1846239) (116d41’ 2.21"W, 35d11’ 4.65"N)

Center (-116.7187287, 35.2187386) (116d43’ 7.42"W, 35d13’ 7.46"N)

Band 1 Block=512x512 Type=Byte, ColorInterp=Red

Overviews: 3524x3457, 1762x1729, 881x865, 441x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 2 Block=512x512 Type=Byte, ColorInterp=Green

Overviews: 3524x3457, 1762x1729, 881x865, 441x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 3 Block=512x512 Type=Byte, ColorInterp=Blue

Overviews: 3524x3457, 1762x1729, 881x865, 441x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Band 4 Block=512x512 Type=Byte, ColorInterp=Alpha

Overviews: 3524x3457, 1762x1729, 881x865, 441x433, 221x217, 111x109, 56x55

Mask Flags: PER_DATASET

Folder contents:

m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511643_se_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511643_sw_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511651_ne_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif

m_3511651_nw_11_1_20100613.sid.4326.alphamsk.lzw.tif.msk

ntc_alphamask_lzw_lzw_ovr.dbf

ntc_alphamask_lzw_lzw_ovr.fix

ntc_alphamask_lzw_lzw_ovr.prj

ntc_alphamask_lzw_lzw_ovr.properties

ntc_alphamask_lzw_lzw_ovr.qix

ntc_alphamask_lzw_lzw_ovr.shp

ntc_alphamask_lzw_lzw_ovr.shx

sample_image

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@...5633...

From: Rahkonen Jukka (Tike) [mailto:jukka.rahkonen@…486…]
Sent: Thursday, September 25, 2014 2:16 AM
To: ‘Nicola Lagomarsini’; ‘Geoserver-users@lists.sourceforge.net’
Subject: Re: [Geoserver-users] Must zoom very close to show a mosaic with GS 2.6-RC1

Hi,

This error happens if I have external GDAL overview files (.ovr) in the image mosaic directory. It I remove overview files the mosaic shows at all scales without errors and it I create similar overviews as internal the mosaic works again.

I have created external overviews with command

gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR image.tif 2 4 8 16 32 64

When the image mosaic is created the external overviews are obviously found because .properties file is listing them:

Levels=0.5,0.5 1.0,1.0 2.0,2.0 4.0,4.0 8.0,8.0 16.0,16.0 31.914893617021278,31.914893617021278

Problem seems to related to reading the external overviews for rendering. I guess than only internal overviews are searched.

-Jukka Rahkonen-

Nicola Lagomarsini wrote:

Hi Chris,

yes, the TIFFImageReader also affects 2.5.2 but I should investigate more deeply for checking if it is the cause of your issue. If you can provide a sample data I will try to replicate it.

Regards,

Nicola Lagomarsini.

2014-09-24 17:54 GMT+02:00 Chris Snider <chris.snider@…3225…>:

Does this TIFFImageReader affect GS 2.5.2 as well?

We have been testing an image processing workflow converting MrSID files to GeoTIFF with alpha and masks being applied. When we add the overviews, we get good output until we hit at/near the “native” resolution of the GeoTiffs. At that zoom, we get the mask itself instead of the image. Zooming past the “native” resolution again shows the image with the beginnings of pixilation as expected.

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@...5633...

From: Nicola Lagomarsini [mailto:nicola.lagomarsini@…1107…]
Sent: Wednesday, September 24, 2014 8:11 AM
To: Andrea Aime
Cc: Rahkonen Jukka (Tike); Geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Must zoom very close to show a mosaic with GS 2.6-RC1

Hi all,

I noticed that the ImageMosaic is using a wrong TIFF reader (com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader), which could be the cause of the issue.

I have already opened a JIRA for this: https://jira.codehaus.org/browse/GEOS-6627. I have fixed it on the master branch, it needs to be backported. Could

you try to do the same test with GeoServer master?

Regards,

Nicola Lagomarsini.

2014-09-24 15:47 GMT+02:00 Andrea Aime <andrea.aime@…1107…>:

Hi Jukka,

this issue is not familar to me, and I’ve played with mosaics using a recent GS release.

Can you share just enough data to reproduce the problem?

Cheers

Andrea

On Wed, Sep 24, 2014 at 3:29 PM, Rahkonen Jukka (Tike) <jukka.rahkonen@…486…> wrote:

Hi,

As a side effect when trying to help Ville I noticed that if I make an image mosaic from two aerial images (6 by 6 km each) I must zoom in to about 300 by 300 m box before the map shows. The attached image show the extents of the mosaic (it is the index shapefile from the Geoserver data_dir) and with little red boxes how close I must zoom before image is shown. At smaller scales the log collects this:

2014-09-24 16:22:37,871 DEBUG [gce.imagemosaic] - We added the granule Description of a granuleDescriptor
BBOX: ReferencedEnvelope[500000.0 : 506000.0, 6834000.0 : 6840000.0]
file: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/SKM_2014_M163_TM35_M5221A.TIF
gridToWorld: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 0.5],
PARAMETER[“elt_0_2”, 500000.25],
PARAMETER[“elt_1_1”, -0.5],
PARAMETER[“elt_1_2”, 6839999.75]]
Description of level 2
Description of a granuleDescriptor level
width: 12000
height: 12000
scaleX: 1.0
scaleY: 1.0
baseToLevelTransform: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3]]
gridToWorldTransform: PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 0.5],
PARAMETER[“elt_0_2”, 500000.0],
PARAMETER[“elt_1_1”, -0.5],
PARAMETER[“elt_1_2”, 6840000.0]]

2014-09-24 16:22:37,890 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.shp by org.geotools.data.shapefile.shp.ShapefileReader
2014-09-24 16:22:37,891 TRACE [data.shapefile] - Shapefile Reader has been closed. Number open: 0
2014-09-24 16:22:37,891 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.dbf by org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2014-09-24 16:22:37,891 TRACE [data.shapefile] - Dbase File Reader has been closed. Number open: 0
2014-09-24 16:22:37,892 DEBUG [data.shapefile] - Read lock: file:/C:/ohjelmat/geoserver-2.6-SNAPSHOT/data_dir/coverages/aerial_images/aerial_images.shx by org.geotools.data.shapefile.shp.IndexFile
2014-09-24 16:22:37,905 TRACE [data.shapefile] - IndexFile has been closed. Number open: 0
2014-09-24 16:22:37,905 DEBUG [gce.imagemosaic] - Producing the final mosaic, step 1, loop through granule collectors
2014-09-24 16:22:37,906 DEBUG [gce.imagemosaic] - Using collector with filter:Filter.INCLUDE
2014-09-24 16:22:37,907 INFO [gce.imagemosaic] - Adding to mosaic failed, original request was RasterLayerRequest description:
SpatialRequestHelper [requestedBBox=ReferencedEnvelope[501435.5270982131 : 502696.30819774553, 6836387.606198041 : 6837337.998922307], cropBBox=ReferencedEnvelope[501435.5270982131 : 502696.30819774553, 6836387.606198041 : 6837337.998922307], requestedRasterArea=java.awt.Rectangle[x=0,y=0,width=459,height=346], destinationRasterArea=java.awt.Rectangle[x=0,y=0,width=459,height=346], requestCRS=PROJCS[“ETRS89 / TM35FIN(E,N)”,
GEOGCS[“ETRS89”,
DATUM[“European Terrestrial Reference System 1989”,
SPHEROID[“GRS 1980”, 6378137.0, 298.257222101, AUTHORITY[“EPSG”,“7019”]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY[“EPSG”,“6258”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4258”]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“central_meridian”, 27.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 500000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“3067”]], requestedGridToWorld=PARAM_MT[“Affine”,
PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3],
PARAMETER[“elt_0_0”, 2.746799781116427],
PARAMETER[“elt_0_2”, 501436.90049810364],
PARAMETER[“elt_1_1”, -2.7467997811164038],
PARAMETER[“elt_1_2”, 6837336.625522416]], requestedResolution=[2.746799781116427, 2.7467997811164038], coverageProperties=org.geotools.gce.imagemosaic.SpatialRequestHelper$CoverageProperties@…6687…, accurateResolution=false, empty=false, needsReprojection=false, ]
ReadType=JAI_IMAGEREAD
2014-09-24 16:22:37,940 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast path
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:338)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:258)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:130)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:510)
at org.geoserver.wms.GetMap.run(GetMap.java:254)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:329)
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:62)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:36)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:74)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy68.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:792)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:274)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: org.geoserver.platform.ServiceException: org.geotools.data.DataSourceException: Unable to create this mosaic
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:939)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:336)
… 105 more
Caused by: org.geotools.data.DataSourceException: Unable to create this mosaic
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1390)
at org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:1228)
at org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:1194)
at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1143)
at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:863)
at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:842)
at org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:147)
at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:221)
at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:211)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:419)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverages(GridCoverageReaderHelper.java:205)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:773)
at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:743)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:852)
… 106 more
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:512)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.access$2400(RasterLayerResponse.java:340)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.produce(RasterLayerResponse.java:1064)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.access$3100(RasterLayerResponse.java:883)
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1342)
… 119 more
Caused by: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:447)
… 123 more
Caused by: java.lang.IndexOutOfBoundsException: imageIndex out of bounds!
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:307)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getWidth(TIFFImageReader.java:512)
at org.geotools.gce.imagemosaic.Utils.getDimension(Utils.java:751)
at org.geotools.gce.imagemosaic.GranuleDescriptor.getLevel(GranuleDescriptor.java:981)
at org.geotools.gce.imagemosaic.GranuleDescriptor.loadRaster(GranuleDescriptor.java:728)
at org.geotools.gce.imagemosaic.GranuleLoader.call(GranuleLoader.java:110)
at org.geotools.gce.imagemosaic.GranuleLoader.call(GranuleLoader.java:41)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.accept(RasterLayerResponse.java:406)
at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.access$2200(RasterLayerResponse.java:340)
at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.visit(RasterLayerResponse.java:1017)
at org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog$1.visit(CachingDataStoreGranuleCatalog.java:192)
at org.geotools.data.store.ContentFeatureSource.accepts(ContentFeatureSource.java:696)
at org.geotools.data.store.ContentFeatureCollection.accepts(ContentFeatureCollection.java:120)
at org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog.getGranuleDescriptors(CachingDataStoreGranuleCatalog.java:158)
at org.geotools.gce.imagemosaic.RasterManager.getGranuleDescriptors(RasterManager.java:1153)
at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1339)
… 119 more

-Jukka Rahkonen-


Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.



Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
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.