Skip to content
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

Incorrect HTTP status code returned for spatial join request for WFS #1660

Open
Kate-Lyndegaard opened this issue Mar 4, 2024 · 1 comment
Labels
question user question WFS deegree Web Feature Service

Comments

@Kate-Lyndegaard
Copy link

When validating this WFS in the OGC Team engine validator, it fails for the Spatial joins → join With Intersects test (and therefore also in the INSPIRE validator).

This post request does not return a valid HTTP code:
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS" version="2.0.0"> <wfs:Query xmlns:ns55="http://inspire.ec.europa.eu/schemas/elu/4.0" typeNames="ns55:ExistingLandUseObject ns55:ExistingLandUseDataSet"> <Filter xmlns="http://www.opengis.net/fes/2.0"> <Intersects> <ValueReference>ns55:ExistingLandUseObject/ns55:geometry</ValueReference> <ValueReference>ns55:ExistingLandUseDataSet/ns55:extent</ValueReference> </Intersects> </Filter> </wfs:Query> </wfs:GetFeature>

The post request returns:

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" version="2.0.0"> <ows:Exception exceptionCode="NoApplicableCode"> <ows:ExceptionText>Join queries between multiple feature types in blob mode are not by SQLFeatureStore (yet).</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>

Do you know if there any cases where this does work (i.e. if not using Blob mode)?

@tfr42 tfr42 added the WFS deegree Web Feature Service label Mar 13, 2024
@tfr42
Copy link
Member

tfr42 commented Mar 27, 2024

@Kate-Lyndegaard Did you tested it with a relational mapping SQLFeatureStore? For this configuration I would expect the spatial joins to work.

@tfr42 tfr42 added the question user question label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question user question WFS deegree Web Feature Service
Projects
None yet
Development

No branches or pull requests

2 participants