HOME

TheInfoList



OR:

Catalogue Service for the Web (CSW), sometimes seen as Catalogue Service - Web, is a standard for exposing a catalogue of geospatial records in
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
on the Internet (over HTTP). The catalogue is made up of records that describe geospatial data (e.g.
KML Keyhole Markup Language (KML) is an XML notation for expressing geographic annotation and visualization within two-dimensional maps and three-dimensional Earth browsers. KML was developed for use with Google Earth, which was originally named Key ...
), geospatial services (e.g. WMS), and related resources. CSW is one part (or "profile") of the OGC Catalogue Service, which defines common interfaces to discover, browse, and query metadata about data, services, and other potential resources. Version 2.0 of the specification was released in May 2004. The most recent release is 2.0.2, which was published in 2007. The records are in XML according to the standard. Typically the records include
Dublin Core 220px, Logo image of DCMI, which formulates Dublin Core The Dublin Core, also known as the Dublin Core Metadata Element Set (DCMES), is a set of fifteen "core" elements (properties) for describing resources. This fifteen-element Dublin Core has ...
, ISO 19139 or
FGDC The Federal Geographic Data Committee (FGDC) is a United States government committee which promotes the coordinated development, use, sharing, and dissemination of geospatial data on a national basis. Its 32 members are representatives from the E ...
metadata, encoded in
UTF-8 UTF-8 is a variable-width encoding, variable-length character encoding used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode'' (or ''Universal Coded Character Set'') ''Transformation Format 8-bit'' ...
characters. Each record must contain certain core fields including: Title, Format, Type (e.g. Dataset, DatasetCollection or Service), BoundingBox (a rectangle of interest, expressed in latitude and longitude), Coordinate Reference System, and Association (a link to another metadata record). Operations defined by the CSW standard include: * GetCapabilities: "allows CSW clients to retrieve service metadata from a server" * DescribeRecord: "allows a client to discover elements of the information model supported by the target catalogue service. The operation allows some or all of the information model to be described". * GetRecords: search for records, returning record IDs * GetRecordById: "retrieves the default representation of catalogue records using their identifier" * GetDomain (optional): "used to obtain runtime information about the range of values of a metadata record element or request parameter" * Harvest (optional): create/update metadata by asking the server to 'pull' metadata from somewhere * Transaction (optional): create/edit metadata by 'pushing' the metadata to the server Requests can encode the parameters in three different ways: * GET with URL parameters * POST with form-encoded payload * POST with XML payload Responses are in XML.


Sample interaction

GeoServer In computing, GeoServer is an open-source server written in Java that allows users to share, process and edit geospatial data. Designed for interoperability, it publishes data from any major spatial data source using open standards. GeoServer h ...
implements many OGC standards, including CSW. An example of the DescribeRecord operation is as follows: http://localhost:8080/geoserver/csw?service=CSW&version=2.0.2&request=DescribeRecord&typeName=gmd:MD_Metadata A (truncated) response: Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This identification.xsd schema implements the UML conceptual schema defined in A.2.2 of ISO 19115:2003. It contains the implementation of the following classes: MD_Identification, MD_BrowseGraphic, MD_DataIdentification, MD_ServiceIdentification, MD_RepresentativeFraction, MD_Usage, MD_Keywords, DS_Association, MD_AggregateInformation, MD_CharacterSetCode, MD_SpatialRepresentationTypeCode, MD_TopicCategoryCode, MD_ProgressCode, MD_KeywordTypeCode, DS_AssociationTypeCode, DS_InitiativeTypeCode, MD_ResolutionType.


Versions

Versions 2.0.0, 2.0.1 and 2.0.2 are subtly different, and different vendors implement them with variations. Typically a CSW server will accept requests in one CSW version only, and it is up to the client to be flexible. e.g. ESRI Geoportal can be configured to harvest documents from CSW servers of a variety of versions and vendor variants such as "GeoNetwork CSW 2.0.2 APISO".


See also

*
Web Map Service A Web Map Service (WMS) is a standard protocol developed by the Open Geospatial Consortium in 1999 for serving georeferenced map images over the Internet. These images are typically produced by a map server from data provided by a GIS database. ...
(WMS) *
Web Feature Service In computing, the Open Geospatial Consortium Web Feature Service (WFS) Interface Standard provides an interface allowing requests for geographical features across the web using platform-independent calls. One can think of geographical features as ...
(WFS) *
Web Coverage Service The Open Geospatial Consortium Web Coverage Service Interface Standard (WCS) defines Web-based retrieval of coverages – that is, digital geospatial information representing space/time-varying phenomena. Overview A WCS provides access to cov ...
(WCS) *
Web Coverage Processing Service The Web Coverage Processing Service (WCPS) defines a language for filtering and processing of multi-dimensional raster coverages, such as sensor, simulation, image, and statistics data. The Web Coverage Processing Service is maintained by the Ope ...
(WCPS) *
Web Processing Service The OGC Web Processing Service (WPS) Interface Standard provides rules for standardizing inputs and outputs (requests and responses) for invoking geospatial processing services, such as polygon overlay, as a web service. The WPS standard defines ...
(WPS)


References


External links


OGC Catalogue Service

OpenGIS Catalogue Service Implementation Specification
(PDF)
Implementations of CSW 2.0.2 registered with OGC



pycsw - Open source Python implementation of CSW

GeoNetwork - Open source Java implementation of CSW

OWSLib - Open source Python client for CSW 2.0.2
{{OGC Web mapping Open Geospatial Consortium Metadata standards