Carsten Lockenkötter ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cda9ae14401890dcab3a71c
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTkxYTQ4MDBjYWI2NGYxOTk3MjY4YzVkMjE2OGQ1YmQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10945?atlOrigin=eyJpIjoiOTkxYTQ4MDBjYWI2NGYxOTk3MjY4YzVkMjE2OGQ1YmQiLCJwIjoiaiJ9
 ) GEOS-10945 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10945?atlOrigin=eyJpIjoiOTkxYTQ4MDBjYWI2NGYxOTk3MjY4YzVkMjE2OGQ1YmQiLCJwIjoiaiJ9
 ) Offset between WMS and WMTS after reprojection from 31466 to 3857 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10945?atlOrigin=eyJpIjoiOTkxYTQ4MDBjYWI2NGYxOTk3MjY4YzVkMjE2OGQ1YmQiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.21.1, 2.22.2 Assignee: Unassigned 
Attachments: GeoServer_Workspace.zip, RasterDataExample.zip, 
wms_wmts_offset.png Components: WMS, WMTS Created: 19/Apr/23 10:55 AM 
Environment:

Windows Server 2019 Standard (1809)
Apache Tomcat/9.0.62
GeoServer 2.22.2 and 2.21.1

Priority: Medium Reporter: Carsten Lockenkötter ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cda9ae14401890dcab3a71c
 )

Hi,

I noticed an offset of about 20cm when serving the ImageMosaic data as WMS and 
WMTS.
The raster file is in EPSG:31466 on the file system.
When publishing the ImageMosaic, the native coordinate system was correctly set 
to EPSG:31466.
Declared SRS: EPSG:3857
SRS handling: Reproject native to declared
Everything else was left at default settings. In the "Tile Caching" tab, only 
the GridSet EPSG:3857 was added, which is a completely identical copy of 
EPSG:900913.

I have attached two zip files, one containing my complete workspace from 
GeoServer and another containing an example raster tile.
If I add the layer as WMS and WMTS in QGIS, the offset of about 20cm is clearly 
visible (see screenshot).

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

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#100222- 
sha1:cb3bdf0 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to