oscar.Util.Metadata

Methods to extract items from a capabilities document.

Summary
oscar.Util.MetadataMethods to extract items from a capabilities document.
Functions
getServiveTitleReturns the title of a service
getServiceAbstractReturns the abstract of a service
getServiceKeywordsReturns the keywords of a service
getServiceTypeReturns the type of service
getServiceReturns the service
getLayerscapabilities Returns the layers of a service
getFeatureTypesReturns the feature types of a service
getFeatureTypesByIdReturns the feature types of a service with a specific id
getCoveragesReturns the coverages node of a wcs service
getParameters
getContentReturns the content of a service
getThemesReturns the Themes object of a WMTS Service
getOperationReturns a service operation
getOperationHrefReturns the url of the service operations
getContactInformation

Functions

getServiveTitle

Returns the title of a service

Parameter

capabilities{Object}

getServiceAbstract

getServiceAbstract : function(capabilities)

Returns the abstract of a service

Parameter

capabilities{Object}

getServiceKeywords

getServiceKeywords : function(capabilities)

Returns the keywords of a service

Parameter

capabilities{Object}

getServiceType

getServiceType : function(capabilities)

Returns the type of service

Parameter

capabilities{Object}

getService

getService : function(capabilities)

Returns the service

Parameter

capabilities{Object}

getLayers

getLayers : function(capabilities)

Parameter

capabilities Returns the layers of a service

getFeatureTypes

getFeatureTypes : function(capabilities)

Returns the feature types of a service

Parameter

capabilities

getFeatureTypesById

getFeatureTypesById : function(capabilities,
id)

Returns the feature types of a service with a specific id

Parameter

capabilities id

getCoverages

getCoverages : function(capabilities)

Returns the coverages node of a wcs service

Parameter

capabilities{Object}

getParameters

getParameters : function(capabilities,
operationString,
parameterName)
Parameters: capabilitiesCapabilities object. operationString - Name of
the operation string, i.e.  “GetFeature”. parameterNameName of the parameter, i.e.  “outputFormat”.

getContent

getContent : function(capabilities)

Returns the content of a service

Parameter

capabilities{Object}

getThemes

getThemes : function(capabilities)

Returns the Themes object of a WMTS Service

Parameter

capabilities{Object}

getOperation

getOperation : function(capabilities,
operation)

Returns a service operation

Parameters

capabilities{object} Capabilities Object
operation{String} Name of the Operation (GetFeature, GetMap, GetTile, etc.)

getOperationHref

getOperationHref : function(capabilities,
operation)

Returns the url of the service operations

Return Type: {String}

Parameters

capabilities{Object}
operation{String} Name of the Operation (GetFeature, GetMap, GetTile, etc.)

getContactInformation

getContactInformation : function(capabilities)

Parameter

capabilities{Object}
getServiceAbstract : function(capabilities)
Returns the abstract of a service
getServiceKeywords : function(capabilities)
Returns the keywords of a service
getServiceType : function(capabilities)
Returns the type of service
getService : function(capabilities)
Returns the service
getLayers : function(capabilities)
capabilities Returns the layers of a service
getFeatureTypes : function(capabilities)
Returns the feature types of a service
getFeatureTypesById : function(capabilities,
id)
Returns the feature types of a service with a specific id
getCoverages : function(capabilities)
Returns the coverages node of a wcs service
getParameters : function(capabilities,
operationString,
parameterName)
getContent : function(capabilities)
Returns the content of a service
getThemes : function(capabilities)
Returns the Themes object of a WMTS Service
getOperation : function(capabilities,
operation)
Returns a service operation
getOperationHref : function(capabilities,
operation)
Returns the url of the service operations
getContactInformation : function(capabilities)