Changes between Initial Version and Version 1 of proposals/InspireSearch


Ignore:
Timestamp:
Mar 15, 2010, 2:24:25 AM (14 years ago)
Author:
josegar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/InspireSearch

    v1 v1  
     1= Inspire Search criteria (optional)  ¶ =
     2
     3|| '''Date''' || 2010/15/03 ||
     4|| '''Contact(s)''' || Jose Garcia. ||
     5|| '''Last edited''' || [[Timestamp]] ||
     6|| '''Status''' || draft ||
     7|| '''Assigned to release''' || 2.5.0 ||
     8|| '''Resources''' || NGR ||
     9
     10== Overview ==
     11
     12This proposal extends then GeoNetwork search interface to allow search metadata using INSPIRE criteria. The proposal is based on NGR project, that extended the Search GUI to allow search of INSPIRE compliant metadata.
     13 
     14
     15=== Proposal Type ===
     16 * '''Type''': GUI Change, Core Change
     17 * '''App''': !GeoNetwork
     18 * '''Module''': Lucene Index, Search Interface
     19
     20=== Links ===
     21 * '''Documents''': [http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf]
     22 * '''Email discussions''':
     23 * '''Other wiki discussions''': [wiki:InspireView]
     24
     25=== Voting History ===
     26 * Vote not yet proposed
     27
     28----
     29
     30== Motivations ==
     31Extend the current search gui to support the search of metadata using INSPIRE criteria.
     32
     33== Proposal ==
     34
     35=== Configure the avalability of INSPIRE options ===
     36
     37The search for INSPIRE metadata panel is not visible by default. A mechanism is added in order to turn on/off INSPIRE search panel in config-gui.xml.
     38
     39{{{
     40<config>
     41  <!--
     42    INSPIRE integration:
     43    Set this parameter to "1" to enable INSPIRE, showing INSPIRE panel in advanced searcher.
     44   -->
     45  <inspire>0</inspire>
     46</config>
     47}}}
     48
     49This parameter can be used to enable/disable the avalability of INSPIRE in GeoNetwork, maybe also for [wiki:InspireView]
     50
     51=== Search panel ===
     52
     53If INSPIRE is enabled, the INSPIRE search options are shown in the advanced search panel:
     54
     55[Image]
     56
     57The search panel for INSPIRE allows searching with this criteria fields:
     58
     59 * Title (Metadata title)
     60
     61 * INSPIRE Annex (See [http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf])
     62
     63 * INSPIRE Theme (See [http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf])
     64
     65 * Source type (Hierarchy level)
     66
     67 * Service type (Online protocol)
     68
     69
     70=== Indexing ===
     71
     72||'''Search field'''||'''Lucene field'''||
     73||Title (Metadata title)||title||
     74||Inspire annex||inspireannex ('''new''')||
     75||INSPIRE theme||inspiretheme ('''new''')||
     76||Source type (Hierarchy level)||type||
     77||Service type (Online protocol)||protocol||
     78
     79
     80Two new fields should be added to the indexing of iso19139 to allow search for INSPIRE annex and INSPIRE theme fields (index-fields.xsl):
     81
     82{{{
     83<xsl:for-each select="gmd:keyword/gco:CharacterString|gmd:keyword/gmd:PT_FreeText/gmd:textGroup/gmd:LocalisedCharacterString">
     84  <xsl:variable name="keywordLower" select="translate(string(.),$upper,$lower)"/>
     85  <Field name="keyword" string="{string(.)}" store="true" index="true" token="false"/>
     86  <Field name="subject" string="{string(.)}" store="true" index="true" token="false"/>
     87
     88  <xsl:if test="string-length(.) &gt; 0">
     89    <xsl:if test="$keywordLower='coordinate reference systems' or $keywordLower='geographical grid systems'
     90 or $keywordLower='geographical names' or $keywordLower='administrative units' or $keywordLower='addresses'
     91or $keywordLower='cadastral parcels' or $keywordLower='transport networks' or $keywordLower='hydrography'
     92or $keywordLower='protected sites'">
     93      <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/>
     94      <Field name="inspireannex" string="i" store="true" index="true" token="false"/>
     95    </xsl:if>
     96 
     97    <xsl:if test="$keywordLower='elevation' or $keywordLower='land cover' or $keywordLower='orthoimagery' or $keywordLower='geology'">
     98      <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/>
     99      <Field name="inspireannex" string="ii" store="true" index="true" token="false"/>
     100    </xsl:if>
     101 
     102    <xsl:if test="$keywordLower='statistical units' or $keywordLower='buildings'
     103or $keywordLower='soil' or $keywordLower='land use' or $keywordLower='human health and safety'
     104or $keywordLower='utility and government services' or $keywordLower='environmental monitoring facilities'
     105or $keywordLower='production and industrial facilities'
     106or $keywordLower='agricultural and aquaculture facilities'
     107or $keywordLower='population distribution - demography'
     108or $keywordLower='area management/restriction/regulation zones and reporting units'
     109or $keywordLower='natural risk zones' or $keywordLower='atmospheric conditions'
     110or $keywordLower='meteorological geographical features'
     111or $keywordLower='oceanographic geographical features'
     112or $keywordLower='sea regions' or $keywordLower='bio-geographical regions'
     113or $keywordLower='habitats and biotopes' or $keywordLower='species distribution'
     114or $keywordLower='energy resources' or $keywordLower='mineral resources'">
     115      <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/>
     116      <Field name="inspireannex" string="iii" store="true" index="true" token="false"/>
     117    </xsl:if>
     118  </xsl:if>
     119</xsl:for-each>
     120}}}
     121
     122
     123
     124=== Backwards Compatibility Issues ===
     125
     126none
     127
     128== Risks ==
     129
     130== Participants ==
     131 * Jose Garcia
     132