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

Error during catalogue search #1

Open
glegal opened this issue Sep 21, 2018 · 4 comments
Open

Error during catalogue search #1

glegal opened this issue Sep 21, 2018 · 4 comments

Comments

@glegal
Copy link

glegal commented Sep 21, 2018

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
Copy link
Author

glegal commented Sep 21, 2018

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
Copy link
Owner

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
Copy link
Owner

Note also that the AOI is bbox and not geometry.

@christophenoel
Copy link
Owner

christophenoel commented Sep 22, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants