Thank You for the answer. So then EPSG:3857 cannot not be used for selecting features that are above 85°N and below - 85°S? Couldn't these features be skipped when WMS GetFeatureInfo is called, instead of the thrown exception? Because in case of polygon / line, it can have vertices that are are above 85°N and below - 85°S and also in the valid extent of EPSG:3857 and if we call the WMS GetFeature info with the valid bbox in EPSG:3857, it still throws exception because of this polygon / line that is inside bbox but also reaches out of the valid extent. Other features in bbox that are valid could have been returned.
Best Regards, Miroslav Sabo From: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi> Sent: Wednesday, April 12, 2023 8:59 AM To: Miroslav Sabo <miroslav.s...@indra-avitech.aero>; geoserver-users@lists.sourceforge.net Subject: Re: WMS GetFeatureInfo Error Hi, EPSG:3857 is not valid near the poles https://epsg.org/crs_3857/WGS-84-Pseudo-Mercator.html? See "Extent: World - 85°S to 85°N". -Jukka Rahkonen- Lähettäjä: Miroslav Sabo <miroslav.s...@indra-avitech.aero<mailto:miroslav.s...@indra-avitech.aero>> Lähetetty: keskiviikko 12. huhtikuuta 2023 9.28 Vastaanottaja: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Aihe: [Geoserver-users] WMS GetFeatureInfo Error Hi all, We are using a GeoServer version 2.22.2 and a PostgreSQL DB as a source with geometries (srid: 4326). Some geometries we are using are on the poles, e.g. polygon that contains a vertex with latitude 90° N. When using the WMS GetFeatureInfo service and EPSG:3857 projection the following error occurs: org.geotools.referencing.operation.projection.ProjectionException: Latitude 90?00.0'N is too close to a pole. I'm attaching a full stacktrace in the geoserverLog.txt. The service works fine with projection EPSG:4326. Is this a known issue and is there a workaround please? Miroslav Sabo
_______________________________________________ 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