CSW Clients for ArcGIS

Release 9.3.1 E-mail This Topic Printable Version Give Us Feedback

CSW Clients for ArcGIS

The CSW Clients bring Geoportal discovery functionality into your ArcMap and ArcGIS Explorer applications. They enable searching OGC Catalog Service for the Web (CS-W) metadata catalogs directly through ArcMap and ArcGIS Explorer. Once metadata records are returned, they can be viewed or downloaded. Additionally, if the metadata references data identified as "Live Data and Maps", the data can be added to the ArcMap document or ArcGIS Explorer Globe. In ArcMap, there are additional functionalities that allow users to preview the data's spatial extent.



To learn more about how the Geoportal extension uses CS-W, please see Geoportal Extension Catalog Service.

Installing CSW Clients for ArcGIS

The CSW Client is now ready to be used. Read Using CSW Clients for more about how to use the CSW Clients, and Logs for the CSW Clients for information about logging.

Using CSW Clients for ArcGIS

The CSW Clients are used the same way in both ArcMap and ArcGIS Explorer. How to search a catalog for data, view metadata, download metadata, and add it to the map are described below. In ArcMap, click the CSW Client button to open the tool. In ArcGIS Explorer 500 or lower, click the CSW Client task in the Task list to open the task. In ArcGIS Explorer 900, select the Add-Ins tab, and select the CSW Client to open the task.

Use these tools to preview metadata, download it, and add it to the map or globe.

How the CSW Clients Work

The CSW Clients need three pieces of information in order to retrieve records from a catalog service for display in ArcMap or ArcGIS Explorer.
  1. A GetCapabilities url to the catalog: This is input in the Catalog Service URL field on the Configure tab of the CSW Clients. The GetCapabilities url provides the catalog endpoint to which the CSW Clients send the search request and from which they receive the response.
  2. Search criteria: This is entered into the fields on the Find tab of the CSW Clients. Search criteria define what records are returned by the CSW Clients. Search criteria act as filters, such as filtering by a search term, if data should be Live Data only, and the maximum number of search results returned.
  3. A catalog profile: The catalog service's profile is selected from a dropdown menu on the Configure tab of the CSW Clients. The catalog profile designation indicates to the CSW Clients which profile the catalog service uses. The mapping between the catalog service and its profile is defined in a file called CSWCatalogs.xml. This file is updated each time a new catalog is configured with the CSW Clients Configure tab. The CSW Clients reference CSWCatalogs.xml to find out what profile the catalog uses.



    The list of available profiles is defined in another file, CSWProfiles.xml. The profile will indicate which xslt files will be used to formulate requests between the CSW Clients and the catalog.
The CSW Clients maintain a list of supported profiles in a file called CSWProfiles.xml. Navigate to the \\CSWClients\Data directory and open the CSWProfiles.xml file. Notice that for each profile in the list, there are three xslt files referenced: GetRecords_Request, GetRecords_Response, and GetRecordByID_Response. These three xslt's transform requests and responses to and from the catalog service for interaction with the ArcMap or ArcGIS Explorer interface. An excerpt from the CSWProfiles.xml file, showing the ArcGIS Server Geoportal Extension profile, is shown below.



<?xml version="1.0" encoding="utf-8" ?>

<CSWProfiles>

<!-- OGCCORE ESRI GPT -->

<Profile>

<ID>urn:ogc:CSW:2.0.2:HTTP:OGCCORE:ESRI:GPT</ID>

<Name>ArcGIS Server Geoportal Extension</Name>

<CswNamespace>http://www.opengis.net/cat/csw/2.0.2</CswNamespace>

<Description />

<GetRecords>

<XSLTransformations>

<Request>CSW_2.0.2_OGCCORE_ESRI_GPT_GetRecords_Request.xslt</Request>

<Response>CSW_2.0.2_OGCCORE_ESRI_GPT_GetRecords_Response.xslt</Response>

</XSLTransformations>

</GetRecords>

<GetRecordByID>

<RequestKVPs>

<![CDATA[service=CSW&request=GetRecordById&version=2.0.2&ElementSetName=full]]>

</RequestKVPs>

<XSLTransformations>

<Response>CSW_2.0.2_OGCCORE_ESRI_GPT_GetRecordByID_Response.xslt</Response>

</XSLTransformations>

</GetRecordByID>

<SupportSpatialQuery>True</SupportSpatialQuery>

<SupportContentTypeQuery>True</SupportContentTypeQuery>

<SupportSpatialBoundary>True</SupportSpatialBoundary>

</Profile>




Flow of information using the xslt's

Conceptually, there are three spaces of interaction when using the CSW Clients: the CSW Clients user interface (UI), the CSW Clients translation activity, and the catalog service with which the CSW Clients interact. Interactions take place when the user initiates a search using the CSW Clients and when the user initiates communication with the catalog service using the CSW Clients' View Metadata, Download Metadata, Add to Map, and View Footprint buttons. The three diagrams below show how the UI, the CSW Clients translation activity, and the catalog service interact to carry out search and display of metadata information in ArcMap or ArcGIS Explorer.



How to Configure Additional Catalogs

The CSW Clients are preconfigured to search Geospatial Onestop - the "GOS2 OGC Core" catalog in the search interface - by default. But if you want to search a different catalog service than Geospatial Onestop, it is possible by registering the catalog service in the CSW Clients' Configure tab.

How to Author and Add a New Profile

If you want to register a catalog service that does not use one of the profiles that the CSW Clients provide by default, then you will need to author the three xslt's used for retrieving the search results and extracting the url used to add live data to the map. These three files were referenced in the How the CSW Clients Work section. After authoring these three xslt files, you must reference them with a new profile entry in the CSWProfiles.xml file. The section below provides details about how to author each xslt, and then how to add the reference to the CSWProfiles.xml file.