[Geoserver-devel] [jira] Created: (GEOS-1807) Coverages do not reproject properly betweeen EPSG:4326 and EPSG:900913

Coverages do not reproject properly betweeen EPSG:4326 and EPSG:900913
----------------------------------------------------------------------

                 Key: GEOS-1807
                 URL: http://jira.codehaus.org/browse/GEOS-1807
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: Ubuntu 2.6.17-10-server GNU/Linux, Firefox
            Reporter: Jason Pickering
            Assignee: Andrea Aime

The following request..

http://hqsuvalhalla.who.int:8080/geoserver/wms?
bbox=-20037508,-20037508,20037508,2020037508&styles=&
Format=application/openlayers&request=GetMap&layers=WHO:Distribution&width=800&height=375&srs=EPSG:900913

results in this..

2008-03-14 10:56:24,570 WARN [geotools.rendering] - Unable to get the resolution
org.geotools.data.DataSourceException: Unable to get the resolution
        at org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.getResolution(AbstractGridCoverage2DReader.java:635)
        at org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.setReadParams(AbstractGridCoverage2DReader.java:236)
        at org.geotools.gce.geotiff.GeoTiffReader.read(GeoTiffReader.java:370)
        at org.geotools.renderer.lite.StreamingRenderer.renderRaster(StreamingRenderer.java:1850)
        at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:1714)
        at org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:1660)
        at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1604)
        at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:649)
        at org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1441)
        at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1313)
        at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:262)
        at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:308)
        at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:432)
        at org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapter.java:48)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:602)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.geotools.referencing.operation.projection.PointOutsideEnvelopeException: Longitude 42952°16.7'W is out of range (±180°).
        at org.geotools.referencing.operation.projection.MapProjection$Inverse.transform(MapProjection.java:931)
        at org.geotools.referencing.operation.projection.MapProjection$Inverse.transform(MapProjection.java:973)
        at org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.java:217)
        at org.geotools.referencing.CRS.transform(CRS.java:983)
        at org.geotools.referencing.CRS.transform(CRS.java:929)
        at org.geotools.resources.CRSUtilities.transform(CRSUtilities.java:333)
        at org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.getResolution(AbstractGridCoverage2DReader.java:627)
        ... 54 more

Data has been provided to Andrea.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira