ISO-Only Geoportal

ISO-Only Geoportal

This topic provides the steps necessary to customize a geoportal implementation to support ISO-based metadata standards only. The main aspects affected by limiting the catalog content to a specific format are discussed in the topics below; additional resources can be found at the Geoportal extension Resource Center:

Configuring supported metadata profiles

Within the geoportal web application, there is a file that defines the metadata profile definitions that the Geoportal will handle while creating, validating, uploading and synchronizing catalogs of metadata. This file is called schemas.xml, and is located in the \\geoportal\WEB-INF\classes\gpt\metadata directory. By default, schemas.xml includes Dublin core, FGDC, ISO 19115 and 19119, ISO North American Profile, INSPIRE, and other sources of metadata (e.g. GeoRSS). Customizing a geoportal to only support ISO-based metadata will require removing profiles that your organization does not want to support from this list, and possibly adding ISO-based profiles that you want to support. By modifying the schemas.xml file such that only ISO-based metadata profiles are supported, the creation, validation, upload, and synchronizing of non-ISO metadata is prevented.

The following xml fragments show first the default schemas.xml, and then a sample schemas.xml that only accepts ISO-based metadata.

default schemas.xml

ISO metadata only schemas.xml sample

< schemas >
<!-- .......... -->
 < schema fileName =" gpt/metadata/dc/dc-definition.xml "/>
 < schema fileName =" gpt/metadata/fgdc/fgdc-definition.xml "/>
 < schema fileName =" gpt/metadata/iso/inspire/inspire-iso-19115-definition.xml "/>
< schema fileName =" gpt/metadata/iso/inspire/inspire-iso-19119-definition.xml "/>
< schema fileName =" gpt/metadata/iso/nap/nap-iso-19115-definition.xml "/>
 < schema fileName =" gpt/metadata/iso/nap/nap-iso-19119-definition.xml "/>
< schema fileName =" gpt/metadata/iso/iso-19115-definition.xml "/>
< schema fileName =" gpt/metadata/iso/iso-19119-definition.xml "/>
<!-- .......... -->
 </ schemas >
< schemas >
<!-- .......... -->
 < schema fileName =" gpt/metadata/iso/inspire/inspire-iso-19115-definition.xml "/>
< schema fileName =" gpt/metadata/iso/inspire/inspire-iso-19119-definition.xml "/>
< schema fileName =" gpt/metadata/iso/nap/nap-iso-19115-definition.xml "/>
 < schema fileName =" gpt/metadata/iso/nap/nap-iso-19119-definition.xml "/>
< schema fileName =" gpt/metadata/iso/iso-19115-definition.xml "/>
< schema fileName =" gpt/metadata/iso/iso-19119-definition.xml "/>
<!-- .......... -->
 </ schemas >

Register resources on the network

When you register resources on the network to be synchronized to the geoportal catalog, you will want to restrict the resources that are synchronized to only those having ISO-based metadata. Two of the Protocol type options on the Register a network resource page may need to be customized: the CSW option, and the URL option.

For the CSW option, you may want to allow synchronizing only ISO metadata so the content of the remote CS-W endpoint will be compatible with your ISO-only geoportal. To do this, you will need to select the ArcGIS Geoportal Extension (version 10) CSW ISO AP profile when registering a CS-W endpoint for synchronization with your geoportal. By selecting this profile, federated searches to this catalog will be applied to only ISO-based metadata stored in the remote Geoportal extension catalog. Content synchronized from this catalog will only be published to your geoportal if it has ISO-based metadata.

For the URL option, you will need to change the default upload schema. Metadata for a resource registered through a URL is automatically generated by the geoportal, and by default follows the Dublin Core metadata schema. Dublin Core is the default because many OGC services do not have extensive metadata, so Dublin Core captures the basic elements but does not need accommodate much more. Lack of further metadata elements may cause the document to fail validation when published under a different schema. Even so, it is possible to easily change the default schema for OGC services from Dublin Core to the ISO 19119 metadata standard for services, thus ensuring that resources registered through a URL have ISO metadata generated for them. If your organization desires this customization, do the following:

  1. Navigate to the \\geoportal\WEB-INF\classes\gpt\metadata\ogc folder and open the ogc-definition.xml file in a text editor.
  2. Find the first <schema> tag near the top of the file, the one with the key="ogc-csw-wms-wfs-wcs-wps-sos-sps". This defines the parameters for OGC services.
  3. Change the toKnownSchemaXslt attribute from the default gpt/metadata/ogc/ogc-toDC.xslt value to gpt/metadata/ogc/ogc-toISO19139.xslt.
  4. Save the file.
  5. Restart the geoportal web application.

Customization of the capabilities document

When the geoportal is customized to support only ISO-based metadata, the capabilities of the catalog service can be more specialized than in the general case where all the default schemas are supported. In this section, we will show how the CSW capabilities document can be enriched in order to meet specific requirements, using the INSPIRE requirements for the Discovery service metadata and multilingual support as an example.

If you navigate to the \\geoportal\WEB-INF\classes\gpt\metadata\ folder in your geoportal web application file structure, you will see two cswCapabilities files. One is the default cswCapabilities.xml file and the other is called cswCapabilities-INSPIRE.xml. The geoportal web application will always look to the cswCapabilities.xml for how the capabilities should be defined. If your organization wants to support INSPIRE, then you will need to copy the content of the cswCapabilities-INSPIRE.xml file into the cswCapabilities.xml file. The cswCapabilities-INSPIRE.xml file contains additional information including the language for free text elements and a new (OGC compliant) Capabilities section called ExtendedCapabilities.

Notice that free text elements have an xml:lang attribute. This is used by the Geoportal to determine which description corresponds to a specific language. The following XML fragment illustrates how to describe title and abstract in English and Italian:

< ows:ServiceIdentification >
 < ows:Title xml:lang =" eng "> This is a Geoportal exposing INSPIRE Discovery service metadata capabilities </ ows:Title >
< ows:Title xml:lang =" ita "> Questo Geoportale espone un servizio di Discovery per INSPIRE </ ows:Title >
< ows:Abstract xml:lang =" eng "> A catalogue service that conforms to the HTTP protocol binding of the OpenGIS Catalogue
Service ISO Metadata Application Profile specification (version 2.0.2) </ ows:Abstract >
< ows:Abstract xml:lang =" ita "> Un servizio di catalogo che si conforma al protocollo del servizio di catalogo di OpenGIS (versione 2.0.2) </ ows:Abstract >
 <!-- .... -->

The OGC CSW getCapabilities operation is extended to support an additional LANGUAGE parameter (only for HTTP GET binding) accepting 3-letter language codes as described in ISO 639-2/T.

The additional elements you need to fill in the ExtendedCapabilities section are defined accordingly with the INSPIRE Discovery Services Technical Guidance Version 2.12 . The fragment relevant for multilingual support is the one defining the supported languages; an example declaring English (default language) and Italian follows:

< inspire_ds:Languages >
< inspire_ds:Language default =" true "> eng </ inspire_ds:Language >
< inspire_ds:Language > ita </ inspire_ds:Language >
 </ inspire_ds:Languages >

An example of a getCapabilities request asking for a response in Italian follows:

http://myServer:8080/geoportal/csw?request=getCapabilities&service=CSW&version=2.0.2&Language=ita
If the Italian (code: ita) language is supported the Geoportal, the catalog will return a capabilities document with Italian title and abstract; otherwise the title and abstract will be returned in the default language.


8/6/2012