ScienceBase connects to a number of different Open Geospatial Consortium web services that require several distinct attributes that describe aspects of the services and how they can be connected to and interacted with in ScienceBase. These attributes are contained within a generalized OGC extension that is further classified with a Web Service Type list.
Properties
Property | Type | Description |
---|---|---|
className | String | = "gov.sciencebase.catalog.item.facet.OGCFacet" A discriminator used by the system to identity the extension type |
type | String | The type of OGCFacet, this can be "WMS" or "WFS" |
layers | String | A comma separated set of layers. |
crs | String | The supported projections of the service. |
serviceVersion | String | The service version of the service. |
capabilitiesUrl | String, URI | The capabilities URL of the service - includes the 'request' and 'service' params |
serviceCapabilitiesUrl | String, URI | The base URL of the service - like the capabilitiesUrl but without any params |
serviceMapUrl | String, URI | |
serviceFeatureInfoUrl | String, URI | |
serviceLegendUrl | String, URI | |
boundingBox | Map<String, Double> | the bounding box, see example for details |
featureTypes | Map<String, Map> | WFS-only: the types of features in the WFS service |
totalFeatureCount | Integer | WFS-only: the number of features in the WFS service |
processingStatus | String | system field to indicate status of processing the service |
Example
{ className: "gov.sciencebase.catalog.item.facet.OGCFacet", type: "WMS", layers: "5, 9, 13, 17", crs: "EPSG:102113, EPSG:3785", serviceVersion: "1.1.1", capabilitiesUrl: "http://cida.usgs.gov/arcgis/services/GLRI68_Phragmites_lidar/MapServer/WMSServer?request=GetCapabilities&service=WMS", serviceCapabilitiesUrl: "http://cida.usgs.gov/arcgis/services/GLRI68_Phragmites_lidar/MapServer/WmsServer?", serviceMapUrl: "http://cida.usgs.gov/arcgis/services/GLRI68_Phragmites_lidar/MapServer/WmsServer?", serviceFeatureInfoUrl: "http://cida.usgs.gov/arcgis/services/GLRI68_Phragmites_lidar/MapServer/WmsServer?", serviceLegendUrl: "", boundingBox: { maxY: 45.564997, maxX: -76.099956, minX: -87.927038, minY: 41.373786 } }