Inspire Search criteria (optional)
Date | 2010/15/03 |
Contact(s) | Jose Garcia. |
Last edited | Timestamp |
Status | draft |
Assigned to release | 2.5.0 |
Resources | NGR |
Overview
This proposal extends the 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.
In this website you can check the proposal described working:
http://nordic.geocat.net/geonetwork/
Proposal Type
- Type: GUI Change, Core Change
- App: GeoNetwork
- Module: Lucene Index, Search Interface
Links
- Documents: http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf
- Email discussions:
- Other wiki discussions: InspireView
Voting History
- Vote not yet proposed
Motivations
Extend the current search gui to support the search of metadata using INSPIRE criteria.
Proposal
Configure the avalability of INSPIRE options
The 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.
<config> <!-- INSPIRE integration: Set this parameter to "1" to enable INSPIRE, showing INSPIRE panel in advanced searcher. --> <inspire>0</inspire> </config>
This parameter can be used to enable/disable the avalability of INSPIRE in GeoNetwork, maybe also for InspireView
Search panel
If INSPIRE is enabled, the INSPIRE search options are shown in the advanced search panel:
Some changes proposed to add also:
- Made INSPIRE collapsible and hidden by default
- Add "Either of the words" as first search parameter and put "Exact phrase", "All of the words" and "Without the words" in a collapsible panel, hidden by default.
- Show INSPIRE terms without using an scrollbar
Additions:
The search panel for INSPIRE allows searching with this criteria fields:
- Only INSPIRE metadata: Searches metadata associated with category=Inspire. This category should be added to Categories table.
- Title (Metadata title)
- INSPIRE Annex (See http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf)
- INSPIRE Theme (See http://inspire.jrc.ec.europa.eu/reports/ImplementingRules/inspireDataspecD2_3v2.0.pdf)
- Source type (Hierarchy level)
- Service type (Online protocol)
- Organisation (Group): To Check
Indexing
Search field | Lucene field |
Title (Metadata title) | title |
Inspire annex | inspireannex (new) |
INSPIRE theme | inspiretheme (new) |
Source type (Hierarchy level) | type |
Service type (Online protocol) | protocol |
Organization (Group) | group |
Two new fields should be added to the indexing of iso19139 metadata to allow search for INSPIRE annex and INSPIRE theme fields (index-fields.xsl):
<xsl:for-each select="gmd:keyword/gco:CharacterString|gmd:keyword/gmd:PT_FreeText/gmd:textGroup/gmd:LocalisedCharacterString"> <xsl:variable name="keywordLower" select="translate(string(.),$upper,$lower)"/> <Field name="keyword" string="{string(.)}" store="true" index="true" token="false"/> <Field name="subject" string="{string(.)}" store="true" index="true" token="false"/> <xsl:if test="string-length(.) > 0"> <xsl:if test="$keywordLower='coordinate reference systems' or $keywordLower='geographical grid systems' or $keywordLower='geographical names' or $keywordLower='administrative units' or $keywordLower='addresses' or $keywordLower='cadastral parcels' or $keywordLower='transport networks' or $keywordLower='hydrography' or $keywordLower='protected sites'"> <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/> <Field name="inspireannex" string="i" store="true" index="true" token="false"/> </xsl:if> <xsl:if test="$keywordLower='elevation' or $keywordLower='land cover' or $keywordLower='orthoimagery' or $keywordLower='geology'"> <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/> <Field name="inspireannex" string="ii" store="true" index="true" token="false"/> </xsl:if> <xsl:if test="$keywordLower='statistical units' or $keywordLower='buildings' or $keywordLower='soil' or $keywordLower='land use' or $keywordLower='human health and safety' or $keywordLower='utility and government services' or $keywordLower='environmental monitoring facilities' or $keywordLower='production and industrial facilities' or $keywordLower='agricultural and aquaculture facilities' or $keywordLower='population distribution - demography' or $keywordLower='area management/restriction/regulation zones and reporting units' or $keywordLower='natural risk zones' or $keywordLower='atmospheric conditions' or $keywordLower='meteorological geographical features' or $keywordLower='oceanographic geographical features' or $keywordLower='sea regions' or $keywordLower='bio-geographical regions' or $keywordLower='habitats and biotopes' or $keywordLower='species distribution' or $keywordLower='energy resources' or $keywordLower='mineral resources'"> <Field name="inspiretheme" string="{string(.)}" store="true" index="true" token="true"/> <Field name="inspireannex" string="iii" store="true" index="true" token="false"/> </xsl:if> </xsl:if> </xsl:for-each>
Backwards Compatibility Issues
none
Risks
Participants
- Jose Garcia
Attachments (2)
-
inspire_search_ngr.png
(12.5 KB
) - added by 15 years ago.
INSPIRE search panel in NGR
- inspire_search_gn.png (104.9 KB ) - added by 15 years ago.
Download all attachments as: .zip