Changes between Version 1 and Version 2 of TemporalExtentSearch


Ignore:
Timestamp:
Apr 14, 2010, 4:02:59 AM (14 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TemporalExtentSearch

    v1 v2  
    3939
    4040{{{
    41 
     41<gmd:temporalElement>                         
     42  <gmd:EX_TemporalExtent>                             
     43    <gmd:extent>
     44      <gml:TimePeriod xmlns="http://www.isotc211.org/2005/gmd" gml:id="TemporalExtent">                                     
     45        <!--
     46              1) Use 2000-01-01 to specify the beginning of the extent                                         
     47              2) Use the *period* [P] declaration to indicate that extent ends in 3 days
     48          -->                                     
     49        <gml:beginPosition>2000-01-01<gml:beginPosition/>
     50        <gml:endPosition>P3D</gml:endPosition>                                 
     51      </gml:TimePeriod>                             
     52    </gmd:extent>                         
     53  </gmd:EX_TemporalExtent>                     
     54</gmd:temporalElement>
    4255}}}
    4356
    44 This proposal would see !GeoNetwork use parser from the JODA time library for this purpose as JODA is generally considered to be the most comprehensive time library for Java. The parsing and conversion step is done by a call to Java objects that use the JODA library when preparing the Lucene Document for indexing (index-fields.xsl).
     57{{{
     58<gmd:temporalElement>                         
     59  <gmd:EX_TemporalExtent>                             
     60    <gmd:extent>
     61      <gml:TimePeriod xmlns="http://www.isotc211.org/2005/gmd" gml:id="TemporalExtent">                                     
     62        <!--
     63              1) Use indeterminate position to specify the beginning of the extent as "now"
     64              2) Use -P3D to specify a period of 3 days (minus means subtract from the other extent) - so its 3 days before now
     65          -->                                     
     66        <gml:beginPosition>2000-01-01<gml:beginPosition/>
     67        <gml:endPosition indeterminatePosition="now">                                 
     68      </gml:TimePeriod>                             
     69    </gmd:extent>                         
     70  </gmd:EX_TemporalExtent>                     
     71</gmd:temporalElement>
     72}}}
     73
     74Note that the second example above uses an indeterminatePosition to specify one end of the extent - indeterminate extents yet to be supported.
     75
     76Temporal extents supported:
     77
     78 * begin: most any date format supported by JODA eg. ISO datetime, ISO date, some other forms of date, plus indeterminateposition="now"
     79 * end: same as begin but also any GML time period eg. P3D (or even a negative period) as above
     80
     81This proposal would see !GeoNetwork use the parser from the JODA time library for this purpose as JODA is generally considered to be the most comprehensive time library for Java. The parsing and conversion step is done by a call to Java objects that use the JODA library when preparing the Lucene Document for indexing (index-fields.xsl).
     82
     83Proposal also includes hide/show for some advanced search fields to reduce size of the form.
    4584
    4685=== Backwards Compatibility Issues ===