[Geoserver-users] The gwc and "The coordinate reference system must be the same for all objects" error

Hello,

I've set up a layer based on an ImageMosaic store - bunch of GeoTiffs in EPSG:3857 projection with time and custom dimension (indexed by a PostGIS datastore). Two different styles are used - first is a simple RasterSymbolizer with a ColorMap. Second one is based on Transformation with ras:Contour.

Everything works well with standard WMS requests. However, when I switch to GeoWebCache to render EPSG:900913 tiles, the second style (with contours) throws an error:

"org.opengis.geometry.MismatchedReferenceSystemException: The coordinate reference system must be the same for all objects"

The gridset EPSG:4326 is handled by GWC with no errors at all.

Is it a bug I should fill in JIRA?

Regards

Maciej

Geoserver 2.6.2 (2.7.0 RC1 also tested) on Apache Tomcat/7.0.52, Java(TM) SE Runtime Environment (build 1.7.0_76-b13)

Detailed error log:

2015-03-11 09:19:40,596 INFO [org.geoserver.wms] -
Request: getServiceInfo
2015-03-11 09:19:40,596 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,596 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,597 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,597 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,601 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,601 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,610 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2015-03-11 09:19:40,611 DEBUG [org.geotools.jdbc] - SELECT max("time") FROM "public"."PRESSURE_AT_MEAN_SEA_LEVEL_3857"
2015-03-11 09:19:40,612 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2015-03-11 09:19:40,614 DEBUG [org.geotools.rendering] - Computed scale denominator: 3.49426414969308E7
2015-03-11 09:19:40,615 DEBUG [org.geotools.rendering] - Processing 1 stylers for http://www.opengis.net/gml:GridCoverage
2015-03-11 09:19:40,615 DEBUG [org.geotools.rendering] - creating rules for scale denominator - 34,942,641.497
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,615 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.
2015-03-11 09:19:40,616 DEBUG [org.geotools.rendering] - Expanding rendering area by 6 pixels to consider stroke width
2015-03-11 09:19:40,617 DEBUG [org.geotools.rendering] - added attribute grid
2015-03-11 09:19:40,617 DEBUG [org.geotools.rendering] - added attribute params
2015-03-11 09:19:40,618 DEBUG [org.geotools.rendering] - Querying layer http://www.opengis.net/gml:GridCoverage with bbox: ReferencedEnvelope[-58703.63771484376 : 5068080.722714845, 9960050.532285154 : 1.2582146350214843E7]
2015-03-11 09:19:40,618 TRACE [org.geotools.factory] - ENTRY (GeometryFactory, JTS_GEOMETRY_FACTORY)
2015-03-11 09:19:40,618 TRACE [org.geotools.factory] - RETURN (GeometryFactory, JTS_GEOMETRY_FACTORY): found implementation GeometryFactory.
2015-03-11 09:19:40,618 TRACE [org.geotools.factory] - ENTRY (GeometryFactory, JTS_GEOMETRY_FACTORY)
2015-03-11 09:19:40,618 TRACE [org.geotools.factory] - RETURN (GeometryFactory, JTS_GEOMETRY_FACTORY): found implementation GeometryFactory.
2015-03-11 09:19:40,620 DEBUG [org.geotools.gce.imagemosaic] - Reading mosaic from file:/var/lib/geoserver/data_dir/um_data/PRESSURE_AT_MEAN_SEA_LEVEL_3857/datastore.properties
2015-03-11 09:19:40,620 DEBUG [org.geotools.gce.imagemosaic] - Highest res 6917.817807654886 6917.817807654886
2015-03-11 09:19:40,621 ERROR [org.geotools.rendering] - The coordinate reference system must be the same for all objects.
org.opengis.geometry.MismatchedReferenceSystemException: The coordinate reference system must be the same for all objects.
         at org.geotools.geometry.jts.ReferencedEnvelope.ensureCompatibleReferenceSystem(ReferencedEnvelope.java:309)
         at org.geotools.geometry.jts.ReferencedEnvelope.intersects(ReferencedEnvelope.java:512)
         at org.geotools.gce.imagemosaic.SpatialRequestHelper.computeCropBBOX(SpatialRequestHelper.java:565)
         at org.geotools.gce.imagemosaic.SpatialRequestHelper.compute(SpatialRequestHelper.java:243)
         at org.geotools.gce.imagemosaic.RasterLayerRequest.<init>(RasterLayerRequest.java:213)
         at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1132)
         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:227)
         at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:217)
         at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:419)
         at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverage(GridCoverageReaderHelper.java:165)
         at org.geotools.renderer.lite.StreamingRenderer$1.readCoverage(StreamingRenderer.java:2005)
         at org.geotools.renderer.lite.RenderingTransformationHelper.applyRenderingTransformation(RenderingTransformationHelper.java:141)
         at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2013)
         at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:820)
         at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:494)
         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:354)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         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:80)
         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.$Proxy65.getMap(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         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.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1174)
         at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:573)
         at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:518)
         at org.geoserver.gwc.layer.GeoServerTileLayer.getTile(GeoServerTileLayer.java:467)
         at org.geowebcache.GeoWebCacheDispatcher.handleServiceRequest(GeoWebCacheDispatcher.java:363)
         at org.geowebcache.GeoWebCacheDispatcher.handleRequestInternal(GeoWebCacheDispatcher.java:254)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.geoserver.gwc.dispatch.GwcServiceProxy.dispatch(GwcServiceProxy.java:98)
         at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         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:620)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:439)
         at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:178)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         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:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         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:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
         at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2378)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:745)
2015-03-11 09:19:40,622 DEBUG [org.geotools.rendering] - Style cache hit ratio: NaN , hits 0, requests 0
2015-03-11 09:19:40,623 ERROR [org.geoserver.ows] -
org.geoserver.platform.ServiceException: Rendering process failed
         at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:520)
         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)
(...)

On Wed, Mar 11, 2015 at 9:24 AM, Maciej Filocha <m.filocha@anonymised.com>
wrote:

Hello,

I've set up a layer based on an ImageMosaic store - bunch of GeoTiffs in
EPSG:3857 projection with time and custom dimension (indexed by a
PostGIS datastore). Two different styles are used - first is a simple
RasterSymbolizer with a ColorMap. Second one is based on Transformation
with ras:Contour.

Everything works well with standard WMS requests. However, when I switch
to GeoWebCache to render EPSG:900913 tiles, the second style (with
contours) throws an error:

"org.opengis.geometry.MismatchedReferenceSystemException: The coordinate
reference system must be the same for all objects"

The gridset EPSG:4326 is handled by GWC with no errors at all.

Is it a bug I should fill in JIRA?

Sounds like a bug indeed... please open a ticket and attach a small dataset
and requests, enough to reproduce the problem

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.

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

W dniu 2015-03-12 o 01:04, Andrea Aime pisze:

Sounds like a bug indeed... please open a ticket and attach a small dataset
and requests, enough to reproduce the problem

Done:

https://jira.codehaus.org/browse/GEOS-6934

Regards

Maciej