Temporal CQL filter issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Temporal CQL filter issues

MARTIN, FANNY
Dear all,

I am trying to get Records from my Geonetwork catalog (v3.0.4) using a temporal CQL filter. I have tried various solution but none works. I send the following request
http://<host>/geonetwork/srv/fre/csw?outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&ElementSetName=full&TypeName=gmd%3AMD_Metadata&NAMESPACE=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28ogc%3Dhttp%3A%2F%2Fwww.opengis.net%2Fogc%29%2Cxmlns%28ows%3Dhttp%3A%2F%2Fwww.opengis.net%2Fows%29%2Cxmlns%28dc%3Dhttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%29%2Cxmlns%28dct%3Dhttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%29%2Cxmlns%28gml%3Dhttp%3A%2F%2Fwww.opengis.net%2Fgml%29%2Cxmlns%28xsi%3Dhttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%29&VERSION=2.0.2&SERVICE=CSW&MaxRecords=10&RESULTTYPE=results&outputFormat=application%2Fxml&StartPosition=1&REQUEST=GetRecords&CONSTRAINTLANGUAGE=CQL_TEXT&CONSTRAINT_LANGUAGE_VERSION=1.1.0&Constraint=....

with different constraints to test with:
-       With XPath
o       Constraint=gmd:identificationInfo.gmd:MD_DataIdentification.gmd:extent.gmd:EX_Extent.gmd:temporalElement.gmd:EX_TemporalExtent.gmd:extent.gml:TimeInstant.gml:timePosition%20>=%20'2015-01-01T01:37:12Z'
==>     Returns no records
o       Constraint=gmd:identificationInfo.gmd:MD_DataIdentification.gmd:extent.gmd:EX_Extent.gmd:temporalElement.gmd:EX_TemporalExtent.gmd:extent.gml:TimeInstant.gml:timePosition%20after%202015-01-01T01:37:12Z
==>     Returns all of my records
-       With ISOQueryables (TempExtent_begin listed in the GetCapabilities response <ows:Constraint name="SupportedISOQueryables">) :
o       Constraint=TempExtent_begin%20>=%20'2015-01-01T01:37:12Z'
==>     Returns no records
o       Constraint=TempExtent_begin%20after%202015-01-01T01:37:12Z
==>     Returns all of my records

Do you have any hints about it ?

Thanks a lot,
Fanny

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l’intention exclusive des destinataires désignés. Il contient des informations confidentielles et pouvant être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire le message. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité au titre de son contenu. Bien que ce message ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne peut garantir l’absence totale de logiciels malveillants dans son contenu et ne pourrait être tenu pour responsable des dommages engendrés par la transmission de l’un d’eux.

This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Temporal CQL filter issues

MARTIN, FANNY
Hi,

I would like to precise a point about my previous question. Using “>=” or “<=” symbol with CreationDate or RevisionDate field to define a constraint works well but I can’t do the same thing with the TempExtent_begin or TempExtent_end.
As an example, the records I try to retrieve have however similar information set:
<gmd:temporalElement>
                                <gmd:EX_TemporalExtent>
                                    <gmd:extent>
                                        <gml:TimeInstant xmlns:gml="http://www.opengis.net/gml/3.2">
                                            <gml:timePosition>2016-12-05T13:51:12Z</gml:timePosition>
                                        </gml:TimeInstant>
                                    </gmd:extent>
                                </gmd:EX_TemporalExtent>
                            </gmd:temporalElement>

How to define a CQL constraint based on the temporalExtent with Geonetwork v3.0.4?

Thanks,
Fanny

_____________________________________________
From: MARTIN, FANNY
Sent: Thursday, March 09, 2017 10:58 AM
To: '[hidden email]'
Subject: Temporal CQL filter issues


Dear all,

I am trying to get Records from my Geonetwork catalog (v3.0.4) using a temporal CQL filter. I have tried various solution but none works. I send the following request
http://<host>/geonetwork/srv/fre/csw?outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&ElementSetName=full&TypeName=gmd%3AMD_Metadata&NAMESPACE=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28ogc%3Dhttp%3A%2F%2Fwww.opengis.net%2Fogc%29%2Cxmlns%28ows%3Dhttp%3A%2F%2Fwww.opengis.net%2Fows%29%2Cxmlns%28dc%3Dhttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%29%2Cxmlns%28dct%3Dhttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%29%2Cxmlns%28gml%3Dhttp%3A%2F%2Fwww.opengis.net%2Fgml%29%2Cxmlns%28xsi%3Dhttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%29&VERSION=2.0.2&SERVICE=CSW&MaxRecords=10&RESULTTYPE=results&outputFormat=application%2Fxml&StartPosition=1&REQUEST=GetRecords&CONSTRAINTLANGUAGE=CQL_TEXT&CONSTRAINT_LANGUAGE_VERSION=1.1.0&Constraint=....

with different constraints to test with:
-       With XPath
o       Constraint=gmd:identificationInfo.gmd:MD_DataIdentification.gmd:extent.gmd:EX_Extent.gmd:temporalElement.gmd:EX_TemporalExtent.gmd:extent.gml:TimeInstant.gml:timePosition%20>=%20'2015-01-01T01:37:12Z'
==>     Returns no records
o       Constraint=gmd:identificationInfo.gmd:MD_DataIdentification.gmd:extent.gmd:EX_Extent.gmd:temporalElement.gmd:EX_TemporalExtent.gmd:extent.gml:TimeInstant.gml:timePosition%20after%202015-01-01T01:37:12Z
==>     Returns all of my records
-       With ISOQueryables (TempExtent_begin listed in the GetCapabilities response <ows:Constraint name="SupportedISOQueryables">) :
o       Constraint=TempExtent_begin%20>=%20'2015-01-01T01:37:12Z'
==>     Returns no records
o       Constraint=TempExtent_begin%20after%202015-01-01T01:37:12Z
==>     Returns all of my records

Do you have any hints about it ?

Thanks a lot,
Fanny

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l’intention exclusive des destinataires désignés. Il contient des informations confidentielles et pouvant être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire le message. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité au titre de son contenu. Bien que ce message ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne peut garantir l’absence totale de logiciels malveillants dans son contenu et ne pourrait être tenu pour responsable des dommages engendrés par la transmission de l’un d’eux.

This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Loading...