Skip to content

How to find all documents of a particular metadata standard

Marten Hogeweg edited this page Dec 14, 2012 · 1 revision

As of Geoportal Server version 1.1.1, you can query a geoportal catalog to return published resources that conform to a particular metadata schema. This is possible through the Geoportal Server REST API Syntax.

The REST syntax is searchText=sys.schema.key. The sys.schema.key will need to indicate which schema you want to query. You will indicate this per the chart below. The schema key values come from the <schema> parameter's key value in the geoportal's corresponding \\geoportal\WEB-INF\classes\gpt\metadata\schema_folder\definition.xml file for each metadata schema (for more on the definition.xml files, see Details of Lucene Indexing in the Geoportal).

The schemas available with the Esri Geoportal Server out of the box are listed below. Note that if you create a custom metadata profile, you should also be able to query for it according to the key value you set for it in its definition.xml file.

Metadata Standard Key Value Sample search syntax
Dublin Core dc http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:dc
FGDC fgdc http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:fgdc
ISO 19115 iso-19115 http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:iso-19115
ISO 19115-2 iso19115-2 http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:iso19115-2
INSPIRE inspire-iso-19115 http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:inspire-iso-19115
Gemini gemini-iso-19115 http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:gemini-iso-19115
North American Profile nap-iso-19115 http://serverName/geoportal/rest/find/document?searchText=sys.schema.key:nap-iso-19115

Back to REST API Syntax
Clone this wiki locally