Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10321?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 ) GEOS-10321 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10321?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 ) WCS 2.0 might fail to return coverages whose native BBOX goes slighly 
outside of the dateline ( 
https://osgeo-org.atlassian.net/browse/GEOS-10321?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) Components: WCS Created: 02/Dec/21 5:51 PM Priority: Medium Reporter: Andrea 
Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 )

A coverage might have an extent that goes slightly out of the dateline, 
probably as a numerical accident of how it got produced. When requesting it on 
WCS 2.0, the dateline crossing behavior triggers, a second read is done to 
gather the slight bit beyond the dateline, and the request fails with an error 
like:

Caused by: java.lang.IllegalArgumentException: The specified dimensional 
parameter is non-positive.
at javax.media.jai.ImageLayout.setWidth(ImageLayout.java:411)
at 
org.geotools.coverage.processing.operation.Mosaic.deriveGridCoverage(Mosaic.java:822)
at 
org.geotools.coverage.processing.operation.Mosaic.doOperation(Mosaic.java:623)
at 
org.geotools.coverage.processing.CoverageProcessor.doOperation(CoverageProcessor.java:583)
at 
org.geotools.coverage.processing.CoverageProcessor.doOperation(CoverageProcessor.java:606)
at org.vfny.geoserver.util.WCSUtils.padToEnvelope(WCSUtils.java:163)
at org.geoserver.wcs2_0.GetCoverage.padOnEnvelope(GetCoverage.java:1899)
at org.geoserver.wcs2_0.GetCoverage.readCoverage(GetCoverage.java:1094)
at org.geoserver.wcs2_0.GetCoverage.setupCoverage(GetCoverage.java:413)
at org.geoserver.wcs2_0.GetCoverage.run(GetCoverage.java:355)
... 115 more

Similar, but not same, as GEOS-9314 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9314 ) Open.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10321#add-comment?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10321#add-comment?atlOrigin=eyJpIjoiY2M4NmFhMDRmZjUzNGYwZGFhMDk2Y2E3NDUyMjlmYTIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- 
sha1:8f95da7 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to