[Geoserver-devel] [JIRA] (GEOS-9689) WFS-NG Other SRS in URN OGC format are not matched by WMS Request SRS

Imran Rajjad created an issue

GeoServer / BugGEOS-9689

WFS-NG Other SRS in URN OGC format are not matched by WMS Request SRS

Issue Type:

BugBug

Affects Versions:

2.16.4, 2.17.1

Assignee:

Imran Rajjad

Components:

WMS

Created:

10/Jul/20 11:17 AM

Fix Versions:

2.17.2

Priority:

MediumMedium

Reporter:

Imran Rajjad

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100133-sha1:8d03bd3)

Atlassian logo