Imran Rajjad ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa4c754d9-7620-446e-8c70-a2c018f794dd
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMWZlZDJjYmVhYmE3NDIzYjhjMzMxMTIwNTQ1NDVmZjgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9689?atlOrigin=eyJpIjoiMWZlZDJjYmVhYmE3NDIzYjhjMzMxMTIwNTQ1NDVmZjgiLCJwIjoiaiJ9
 ) GEOS-9689 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9689?atlOrigin=eyJpIjoiMWZlZDJjYmVhYmE3NDIzYjhjMzMxMTIwNTQ1NDVmZjgiLCJwIjoiaiJ9
 ) WFS-NG Other SRS in URN OGC format are not matched by WMS Request SRS ( 
https://osgeo-org.atlassian.net/browse/GEOS-9689?atlOrigin=eyJpIjoiMWZlZDJjYmVhYmE3NDIzYjhjMzMxMTIwNTQ1NDVmZjgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.16.4, 2.17.1 Assignee: Imran Rajjad ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa4c754d9-7620-446e-8c70-a2c018f794dd
 ) Components: WMS Created: 10/Jul/20 11:17 AM Fix Versions: 2.17.2 Priority: 
Medium Reporter: Imran Rajjad ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa4c754d9-7620-446e-8c70-a2c018f794dd
 )

Ideally, if the requested SRS in WMS is included in Other SRS list of remote 
WFS-NG layer, it should be relayed into remote request bypassing any 
reprojection. However, this is not the case with Other SRS described in OGC URN 
format. The matching should be tolerant enough to compare EPSG:XXX with OGC URN 
from the Other SRS list. This means that only a different Axis order on similar 
EPSG code should not qualify as a match.

The issue occurs at line:

https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/MapLayerInfo.java#L381

The SRS check needs to move from string comparison to transformation 
requirement check.

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

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

Reply via email to