Niels Charlier (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
) GEOS-10146 (
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
) App-schema: support for multiple geometries with different CRS (
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
)
Issue Type: Bug Assignee: Niels Charlier (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
) Components: Application schema Created: 14/Jul/21 10:50 AM Priority: Medium
Reporter: Niels Charlier (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
)
Geotools in general and app-schema specifically has unpredictable and buggy
behaviour when you use multiple geometries in features, particularly if they
have different CRS.
There are various assumptions in the code that a feature type only has one
single CRS. App-schema will use the first CRS it finds in the source type and
list this for any geometry. On reprojection, there will be an attempt to
reproject all geometries, which will fail if they are not all in the same CRS.
Expected behaviour is that the different CRS can be in a complex type, and that
reprojection only reproject the default geometry.
One remark: it is necessary that the default geometry in your complex type is
also the first geometry in your source table column list. It is unlikely to
avoid this curiosity because it would require far too many core changes to
avoid it (the first geometry is assumed to be the default in a simple type).
But at least if this is done, it should work.
(
https://osgeo-org.atlassian.net/browse/GEOS-10146#add-comment?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10146#add-comment?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
)
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#100168-
sha1:61fd6a1 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel