pycsw icon indicating copy to clipboard operation
pycsw copied to clipboard

add counts to GetCapabilities responses

Open tomkralidis opened this issue 12 years ago • 0 comments

Advertise counts of metadata in GetCapabilities XML, such as:

  • number of services
  • number of datasets
  • number of harvested resources
  • number of datasets from services (WMS layers, WFS feature types, SOS offerings, etc.)

...using the pycsw taxonomy (between type and schema, and source fields).

Example from CubeWerx:

<ows:ExtendedCapabilities>
 <ObjectCounts>
  <Count objectType="urn:cw:def:ebRIM-ObjectType:CubeWerx:WMS:Layer">74</Count>
  <Count objectType="urn:cw:def:ebRIM-ObjectType:CubeWerx:WFS:FeatureType">56</Count>
  <Count objectType="urn:cw:def:ebRIM-ObjectType:CubeWerx:WMS:Theme">37</Count>
  <Count objectType="urn:cw:def:ebRIM-ObjectType:CubeWerx:WCS:Coverage">15</Count>
  <Count objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Service" objectSubtype="http://www.opengis.net/wcs">14</Count>
  <Count objectType="urn:cw:def:ebRIM-ObjectType:CubeWerx:WCS:Theme">14</Count>
  <Count objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Service" objectSubtype="http://www.opengis.net/wms">11</Count>
  <Count objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Service" objectSubtype="http://www.cubewerx.com/cubeserv">11</Count>
  <Count objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Service" objectSubtype="http://www.opengis.net/wfs">1</Count>
 </ObjectCounts>
</ows:ExtendedCapabilities>

tomkralidis avatar Feb 22 '13 12:02 tomkralidis