christophenoel / testbed14

Examples for Testbed14
1 stars 2 forks source link

Error during catalogue search #1

Open glegal opened 6 years ago

glegal commented 6 years ago

Hi, I try to perform a product search on the data catalogue (http://geo.spacebel.be/opensearch). I followed the steps indicated in https://github.com/spacebel/testbed14/blob/master/testbed14-sequence.adoc but i end up in an error.

1) i look for dataset "EOP:VITO:PDF" http://geo.spacebel.be/opensearch/description.xml?parentIdentifier=EOP:VITO:PDF 2) I select the <Url> with type="application/atom+xml" and extract the template

3) i perform a search request http://geo.spacebel.be/opensearch/request?httpAccept=application%2Fatom%2Bxml&parentIdentifier=EOP:VITO:PDF&startDate=2010-05-05T00:00&endDate=2016-05-06T00:00&geometry=POLYGON((120%20-10,155%20-10,155%20-30,120%20-30,120%20-10))&startIndex=1

the server return an ows Exception :

<?xml version="1.0" encoding="UTF-8"?> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0"> <ows:Exception exceptionCode="NoApplicableCode" locator="server"> <ows:ExceptionText>org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>

Guilhem Legal, Geomatys

glegal commented 6 years ago

Another precision, i just found out that, if i set no time and spatial parameters, the query works. But i end up with another issue : i don't have any product url (No rel="enclosure") and no owc:offering.

Guilhem Legal, Geomatys

christophenoel commented 6 years ago

Hello Guilhem, I don't know the status of this server (I will ask if you can use for testing purpose), but the OpenSearch gateway intended for Testbed14 has not been yet configured / installed. I will let you know as soon this is available.

christophenoel commented 6 years ago

Note also that the AOI is bbox and not geometry.

christophenoel commented 6 years ago

Worked with : http://geo.spacebel.be/opensearch/request?httpAccept=application%2Fatom%2Bxml&parentIdentifier=EOP:VITO:PDF&startDate=2010-05-05T00:00:00Z&endDate=2016-05-06T00:00:00Z&bbox=0,0,1,1

(Z is mandatory as specified in the OSDD).

Anyway, there are indeed no enclosure in this collection.