Re: [Geoserver-users] gt-imagemosaic projections

2019-08-28 Thread Bessette-Halsema, Dominique E
If I add in the hardcoded 3832 information to the "setRequestGridGeometry" 
method, imagemosaic projects correctly.  How do I ensure that the class is 
getting the correct GridGeometry2D object?

Dominique Bessette


From: Bessette-Halsema, Dominique E 
Sent: Wednesday, August 28, 2019 1:26 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] gt-imagemosaic projections

Hello

I'm looking at imagemosaic using gt-imagemosaic v21.1 GeoServer 2.15.1.  I 
created an imagemosaic coverage with native CRS EPSG:4326.  When I make a 
getMap request using CRS EPSG:3832,  the objects requestCRS and 
coverageProperties.crs2D are both EPSG:4326 which causes the grid to not 
reproject.

line 293 in the gt-imagemosaic SpatialRequestHelper.java
//
// Check if the request CRS is different from the coverage native CRS
//
if (!CRS.equalsIgnoreMetadata(requestCRS, coverageProperties.crs2D))

Shouldn't they be different?


Dominique Bessette




SpatialRequestHelper.java.patch
Description: SpatialRequestHelper.java.patch
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] gt-imagemosaic projections

2019-08-28 Thread Bessette-Halsema, Dominique E
Hello

I'm looking at imagemosaic using gt-imagemosaic v21.1 GeoServer 2.15.1.  I 
created an imagemosaic coverage with native CRS EPSG:4326.  When I make a 
getMap request using CRS EPSG:3832,  the objects requestCRS and 
coverageProperties.crs2D are both EPSG:4326 which causes the grid to not 
reproject.

line 293 in the gt-imagemosaic SpatialRequestHelper.java
//
// Check if the request CRS is different from the coverage native CRS
//
if (!CRS.equalsIgnoreMetadata(requestCRS, coverageProperties.crs2D))

Shouldn't they be different?


Dominique Bessette


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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