inspire-eu-validation / discovery-service

Abstract Test Suite for the Technical Guidance for INSPIRE Discovery Services
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

A.3.1 #22

Open jensscheerlinck opened 8 years ago

jensscheerlinck commented 8 years ago

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685

Comment

In the notes it is stated that there is some mismatch between the legal documents and the guidance document. This must be sorted out before handling the tests

Proposed Change

Sort out the mismatch between the documents and then reconsider this test.

jensscheerlinck commented 8 years ago

Proposed Resolution

Currently, the part of the legislation (IR NS Annex II Part A) specifying that it must be possible to use: 1) operators for discovering resources through a combination of search criteria 2) spatial operators to allow discovering resources based on geographic location Is not covered by an implementation requirement, and as a result, not covered by one of the test cases.

Update TG DISC section 4.4.1 with implementation requirement to include items 3 and 4 as stated in Annex B, table 11 TG DISC. After this, a new test case should be added to test whether a combination of search criteria can be used (logical and comparison operators) to discover resources.

PeterParslow commented 8 years ago

Unable at present to access the IR (http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:32009R0976 and searches for 976/2009 returns "The requested document does not exist"!).

I guess that if the note is true, and there is a mismatch, that should be resolved.

However, I see the note on A.3.1 as misleading - searching by attributes is distinct from spatial searches. This test, based on TG Requirement 4 & therefore section 4.4, is about searching by attributes. Many of these are covered by CSW ISO AP; the "additional" INSPIRE search attributes are covered here (by TG requirements 19-22 giving more detail than 4).

Searches involving spatial operators should be covered by the general CSW ISO AP, which ought to include a thorough check of OGC Filter Encoding (the conformance clause explicitly says so). OGC Filter Encoding includes "intersects".

Similarly, searches using operators to combine search criteria should be covered by validating against OGC Filter Encoding.

Proposed resolution: delete the first paragraph of the "note".

However, it is also true (as per the second paragraph of the note), that this test case is merely an abstraction (combination) of A.3.8 and A.3.9, so it may be more useful to turn it into an abstraction i.e. state that it (& therefore requirements 4, 19-22) are satisfied by passing those two test cases.

jensscheerlinck commented 8 years ago

Agreed with comments made by Peter: