Mattias Pantzare ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A23cd6507-68cd-4012-8ae3-a4236665f7c2 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9770?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) GEOS-9770 ( https://osgeo-org.atlassian.net/browse/GEOS-9770?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) Cascading WMS server sets invalid I and J when using EPSG:3006 on GetFeatureInfo calls ( https://osgeo-org.atlassian.net/browse/GEOS-9770?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.17.2 Assignee: Unassigned Created: 14/Oct/20 2:00 PM Environment: Tested on geoserver 2.17.2 and compiled from source on the master branch. Priority: Medium Reporter: Mattias Pantzare ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A23cd6507-68cd-4012-8ae3-a4236665f7c2 ) Set up a cascading WMS service to whit this Capabilities URL: http://resource.sgu.se/service/wms/130/brunnar? Publish the layer SE.GOV.SGU.BRUNNAR.250K Try go call GetFeatureInfo with CRS EPSG:3006 Request from the browser: http://localhost:8080/geoserver/test/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng8&TRANSPARENT=true&QUERY_LAYERS=SE.GOV.SGU.BRUNNAR.250K&LAYERS=SE.GOV.SGU.BRUNNAR.250K&INFO_FORMAT=application%2Fjson&FEATURE_COUNT=5&I=107&J=2&WIDTH=512&HEIGHT=512&CRS=EPSG%3A3006&STYLES=&BBOX=7291710.72%2C832252.7999999999%2C7294004.4799999995%2C834546.5599999999 Cascading request: 2020-10-14 13:31:04,845 DEBUG [data.ows] - Executed request to URL: http://maps3.sgu.se:80/geoserver/grundvatten/ows?FORMAT=image%2Fpng&CRS=EPSG:3006&INFO_FORMAT=application/vnd.ogc.gml&STYLES=&I=1442353&WIDTH=512&J=1442248&SERVICE=WMS&TRANSPAREN T=TRUE&HEIGHT=512&LAYERS=SE.GOV.SGU.BRUNNAR.250K&REQUEST=GetFeatureInfo&BBOX=7291710.72,832252.7999999999,7294004.4799999995,834546.5599999999&VERSION=1.3.0&QUERY_LAYERS=SE.GOV.SGU.BRUNNAR.250K&FEATURE_COUNT=5 Notice that the I and J parameters now have invalid values. The transformation happens in org.geotools.ows.wms.map.WMSLayer#getFeatureInfo. It tires to transform from SRS EPSG:3006 to EPSG:3006. But for some reason it thinks that the source CRS has AXIS NORTH/EAST, and the target CRS is AXIS EAST/NORTH. Maybe it is selecting the geoserver internal CRS instead of the EPSG definition as the target CRS? ( https://osgeo-org.atlassian.net/browse/GEOS-9770#add-comment?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9770#add-comment?atlOrigin=eyJpIjoiODczZTY2M2IzNzZkNGI3NGIyYmY5MWUxNTg2YTdmYWYiLCJwIjoiaiJ9 ) 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#100149- sha1:76ec96c )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
