-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance bbox requests without geometry property to consider all geometry properties (3.6) #1732
base: main
Are you sure you want to change the base?
Enhance bbox requests without geometry property to consider all geometry properties (3.6) #1732
Conversation
The TMC discussed this PR and we have a few concerns: This PR changes the behavior of deegree in a non-obvious (= to the user) way and we're not sure if that's appropriate (especially in case of the 3.5 backport) without proper documentation or even making the new behavior opt-in. We also discussed the use of ST_Union in the PostGIS dialect and we are very concerned that the proposed solution results in unexpected performance regressions. Calculating ST_Union can be very expensive on large complex geometries. There are many ways to preventing the use of this (potentially) expensive union, such as using ST_Collect instead, rewrite the query generator to compute extents for every column first and aggregate them later, etc. Another thing that came up during the discussion was what happens when someone is mixing different coordinate systems and/or geometry columns that can contain null values.. |
2384006
to
e3cb97c
Compare
Force push was required to remove a commit from PR #1729 / #1731 from this PR! |
The enhancement was successfully tested on a local infrastructure setup, using both a PostgreSQL and an Oracle database database. The following requests now successfully deliver data: EPSG:4258 (2D) EPSG:7423 (3D) |
We consider the approach that all geometries are used when no geometry property is defined by the request as more intuitive and user friendly. Note: The OGC specifications seem not to be clear about this. E.g. the OGC OWS Common 1.1.0 spec (06-121r3) describes the use of Bounding Boxes in chap. 10.2.5 (which is referenced by OGC WFS 2.0 spec), where OGC API Features 1.0.1 spec (17-069r4) allows both behaviors (see Requirement 24 /req/core/fc-bbox-response section B). These are our reasons:
Note: This change of behavior will mainly effect GetFeature GET KVP requests as POST XML requests define the used properties. Thus, most requests will not be affected by this change. |
Backport #1730