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

INSPIRE WFS service fails for Temporal and Spatial Filter #247

Closed
Ana-SGA opened this issue Nov 17, 2022 · 11 comments
Closed

INSPIRE WFS service fails for Temporal and Spatial Filter #247

Ana-SGA opened this issue Nov 17, 2022 · 11 comments
Assignees
Labels

Comments

@Ana-SGA
Copy link

Ana-SGA commented Nov 17, 2022

Dear all,

could someone take a look at these WFS services that fail OGC test on INSPIRE Validator regarding Temporal and Spatilal Filter:

Can somebody please explain these errors?

@dstenger
Copy link
Contributor

Thank you for reporting.

Can you please point out which tests you expect to be passed and which test do not have a understandable error message?

The error regarding invalid Geometry Operand might be related to issues #233 and #235 which are already fixed and will be installed on Beta environment (https://cite.ogc.org/te2/) soon.

@Ana-SGA
Copy link
Author

Ana-SGA commented Nov 17, 2022

Dear @dstenger,
thanks for looking. We don't understand what is wrong with Spatial and Temporal filter errors. Regarding Spatial filter the test reports an error for intersecting curves, polygons etc, and the data are points? Regarding Temporal filter we don't understand this error. Is there a way to check if the proposed solution for invalid Geometry Operand applies to our WFSs except to wait installation on Beta environment? Thank you, a lot.

@dstenger
Copy link
Contributor

Unfortunately, I cannot comment about the error messages of the INSPIRE validator and the provided links do not return a report.

When checking the provided services with TEAM Engine instance of OGC (https://cite.ogc.org/teamengine/), following error messages are returned for spatial and temporal filter:

Spatial filter:

1. intersects Curve | java.lang.AssertionError: Unexpected HTTP status code. expected <br>[200] but found <br>[400]
2. invalid Geometry Operand | java.lang.RuntimeException: Could not create  envelope for feature type:  {http://inspire.ec.europa.eu/schemas/ef/4.0}ObservingCapability
3. intersects Polygon | java.lang.AssertionError: Unexpected HTTP status code. expected <br>[200] but found <br>[400]

Comment on failures:

  1. Wrong HTTP status code is returned. It seems that your service throws an exception.
    • Following is tested: Submits a GetFeature request containing an Intersects predicate with a gml:LineString or gml:Curve (LineStringSegment) operand. The response entity must be schema-valid and contain only matching instances.
  2. Is already fixed. Beta (https://cite.ogc.org/te2/) will be updated soon. Please see my previous comment.
  3. Wrong HTTP status code is returned. It seems that your service throws an exception.
    • Following is tested: Submits a GetFeature request containing an Intersects predicate with a gml:Polygon operand. The response entity must be schema-valid and contain only matching instances.

Temporal filter:

1. after Instant | java.lang.AssertionError: Unexpected HTTP status code. expected <br>[200] but found <br>[400]
...
all following tests with the same failure message

Comment on failures:

  1. Wrong HTTP status code is returned. It seems that your service throws an exception saying that temporal filters are not supported by the service.
<fes:Constraint name="ImplementsTemporalFilter">
    <ows:NoValues/>
    <ows:DefaultValue>TRUE</ows:DefaultValue>
</fes:Constraint>

@Ana-SGA
Copy link
Author

Ana-SGA commented Nov 21, 2022

Dear @dstenger,
thanks a lot for commenting. I have attached reports from the INSPIRE Validator, seems that the errors are the same as with OGC validator. Concerning these errors (Spatial and Temporal Filter) we should fix them on our part, they aren't OGC Validators errors (except for the invalidGeometryOperand right? We really appreciate your help.
ZA Github.zip

@dstenger
Copy link
Contributor

dstenger commented Jan 12, 2023

@Ana-SGA It seems that all problems have been discussed. Can you please close the issue if you do not have any further questions?

@Ana-SGA
Copy link
Author

Ana-SGA commented Jul 31, 2023

Dear all, @dstenger,

for another service again we get error invalidGeometryOperand OGC TEAM Engine reported a failed test: Could not create envelope for feature type: {http://inspire.ec.europa.eu/schemas/tn-ra/4.0}RailwayElectrification for this service https://nipp.hzinfra.hr/geoserver/tn-ra/wfs?service=WFS&request=GetCapabilities&version=2.0.0.

Can someone take a look?

@Ana-SGA Ana-SGA reopened this Jul 31, 2023
@dstenger
Copy link
Contributor

@Ana-SGA

When I am running the provided service against Beta environment (https://cite.ogc.org/te2/) which contains the latest fixes, test invalidGeometryOperand passes.

On Production environment (https://cite.ogc.org/teamengine/) test invalidGeometryOperand fails with the provided service.

This is due to the case that the relevant fixes #233 and #235 are part of version 1.39 and 1.40 of the test suite.
Production, however, has version 1.38 installed (please see landing page of https://cite.ogc.org/teamengine/).
Thus, a failure on Production is expected.

An update of Production is planned for autumn. Then, the version currently installed on Beta will be moved to Production.

@dstenger dstenger assigned Ana-SGA and unassigned dstenger Jul 31, 2023
@JohannaOtt
Copy link

for another service again we get error invalidGeometryOperand OGC TEAM Engine reported a failed test: Could not create envelope for feature type: {http://inspire.ec.europa.eu/schemas/tn-ra/4.0}RailwayElectrification for this service https://nipp.hzinfra.hr/geoserver/tn-ra/wfs?service=WFS&request=GetCapabilities&version=2.0.0.

I get the same type of error messages (different service, different type, but pattern is the same) when testing this WFS in the beta instance using version 1.41 of the WFS 2.0 validator
grafik

@dstenger Could you please take a look what is causing those?

@dstenger
Copy link
Contributor

dstenger commented Jun 5, 2024

@JohannaOtt Thank you for reporting. I can reproduce the problem.
However, there are different tests affected in your case. Also, this issue is very generic and discusses multiple problems.
Thus, I propose to create a new issue for your problem.

@Ana-SGA As stated in comment #247 (comment), I propose to close this issue as all findings have been discussed. If there are no objections, I will close this issues in a couple of weeks.

@JohannaOtt
Copy link

Thus, I propose to create a new issue for your problem.

Agreed, I created #274 for it now.

@Ana-SGA
Copy link
Author

Ana-SGA commented Jun 24, 2024

Dear @dstenger,

we can close this issue. Thank you for helping.

@Ana-SGA Ana-SGA closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

4 participants