<?xml version="1.0" encoding="UTF-8"?>
<wfs:WFS_Capabilities
  xmlns="http://www.opengis.net/wfs/2.0"
  xmlns:wfs="http://www.opengis.net/wfs/2.0"
  xmlns:ows="http://www.opengis.net/ows/1.1"
  xmlns:fes="http://www.opengis.net/fes/2.0"
  xmlns:DataZones2011="https://maps.data.gov.scot/arcgis/admin/services/DataZones2011/MapServer/WFSServer"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  version="2.0.0"  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd https://maps.data.gov.scot/arcgis/admin/services/DataZones2011/MapServer/WFSServer https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?service=wfs%26version=2.0.0%26request=DescribeFeatureType"
>
  <ows:ServiceIdentification>
    <ows:Title>WFS</ows:Title>
    <ows:Abstract>Data zones are the key geography for the dissemination of small area statistics in Scotland and are widely used across the public and private sector. Composed of aggregates of Census Output Areas, data zones are large enough that statistics can be presented accurately without fear of disclosure and yet small enough that they can be used to represent communities. They are designed to have roughly standard populations of 500 to 1,000 household residents, nest within Local Authorities (at the time of the Census), have compact shapes that respect physical boundaries where possible, and to contain households with similar social characteristics. Data zones also represent a relatively stable geography that can be used to analyse change over time, with changes only occurring after a Census. Following the update to data zones using 2011 Census data, there are now 6,976 data zones covering the whole of Scotland. Centroids were also calculated from a population weighted sum of Census Output Area centroids that fall within a data zone. These centroids are used to link data zones to other (higher level) geographies and produce a best-fit match. Aggregations of data zones are often used to approximate a larger area of interest or a higher level geography that statistics would not normally be available for.</ows:Abstract>
    <ows:Keywords>
      <ows:Keyword>ESRI(LongLat)</ows:Keyword>
      <ows:Keyword>population</ows:Keyword>
      <ows:Keyword>distribution</ows:Keyword>
      <ows:Keyword>statistical</ows:Keyword>
      <ows:Keyword>data</ows:Keyword>
      <ows:Keyword>Statistical</ows:Keyword>
      <ows:Keyword>analysis</ows:Keyword>
      <ows:Keyword>Statistical</ows:Keyword>
      <ows:Keyword>units</ows:Keyword>
    </ows:Keywords>
    <ows:ServiceType>WFS</ows:ServiceType>
    <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>
    <ows:Fees>None</ows:Fees>
    <ows:AccessConstraints>No limitations to public access</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:ServiceProvider>
    <ows:ProviderName>Scottish Government</ows:ProviderName>
    <ows:ServiceContact>
      <ows:IndividualName>GIS Analyst</ows:IndividualName>
      <ows:PositionName>Geospatial Team</ows:PositionName>
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice></ows:Voice>
          <ows:Facsimile></ows:Facsimile>
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint>Victoria Quay</ows:DeliveryPoint>
          <ows:City>City of Edinburgh</ows:City>
          <ows:AdministrativeArea>City of Edinburgh</ows:AdministrativeArea>
          <ows:PostalCode>EH6 6QQ</ows:PostalCode>
          <ows:Country>United Kingdom</ows:Country>
          <ows:ElectronicMailAddress>GIS@gov.scot</ows:ElectronicMailAddress>
        </ows:Address>
        <ows:OnlineResource xlink:href="https://maps.data.gov.scot/arcgis/admin/services/DataZones2011/MapServer/WFSServer"/>
        <ows:HoursOfService></ows:HoursOfService>
        <ows:ContactInstructions></ows:ContactInstructions>
      </ows:ContactInfo>
      <ows:Role>Publisher</ows:Role>
    </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="AcceptVersions">
        <ows:AllowedValues>
          <ows:Value>1.0.0</ows:Value>
          <ows:Value>1.1.0</ows:Value>
          <ows:Value>2.0.0</ows:Value>
      </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="DescribeFeatureType">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    <ows:Parameter name="outputFormat">
      <ows:AllowedValues>
        <ows:Value>text/xml; subtype=gml/3.2</ows:Value>
      </ows:AllowedValues>
    </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetPropertyValue">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="resolve">
        <ows:AllowedValues>
          <ows:Value>none</ows:Value>
          <ows:Value>local</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetFeature">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="resultType">
        <ows:AllowedValues>
          <ows:Value>results</ows:Value>
          <ows:Value>hits</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
      <ows:Parameter name="outputFormat">
        <ows:AllowedValues>
          <ows:Value>GML32</ows:Value>
          <ows:Value>GML32+ZIP</ows:Value>
          <ows:Value>GML32+GZIP</ows:Value>
          <ows:Value>application/gml+xml; version=3.2</ows:Value>
          <ows:Value>GML3</ows:Value>
          <ows:Value>GML3+ZIP</ows:Value>
          <ows:Value>GML3+GZIP</ows:Value>
          <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
          <ows:Value>GML2</ows:Value>
          <ows:Value>GML2+ZIP</ows:Value>
          <ows:Value>GML2+GZIP</ows:Value>
          <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
          <ows:Value>GEOJSON</ows:Value>
          <ows:Value>GEOJSON+ZIP</ows:Value>
          <ows:Value>GEOJSON+GZIP</ows:Value>
          <ows:Value>ESRIGEOJSON</ows:Value>
          <ows:Value>ESRIGEOJSON+ZIP</ows:Value>
          <ows:Value>ESRIGEOJSON+GZIP</ows:Value>
          <ows:Value>KML</ows:Value>
          <ows:Value>application/vnd.google-earth.kml xml</ows:Value>
          <ows:Value>application/vnd.google-earth.kml+xml</ows:Value>
          <ows:Value>KMZ</ows:Value>
          <ows:Value>application/vnd.google-earth.kmz</ows:Value>
          <ows:Value>SHAPE+ZIP</ows:Value>
          <ows:Value>CSV</ows:Value>
          <ows:Value>CSV+ZIP</ows:Value>
          <ows:Value>CSV+GZIP</ows:Value>
          <ows:Value>Geopackage</ows:Value>
          <ows:Value>Geopackage+ZIP</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
      <ows:Parameter name="resolve">
        <ows:AllowedValues>
          <ows:Value>none</ows:Value>
          <ows:Value>local</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetGmlObject">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="ListStoredQueries">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="DescribeStoredQueries">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/DataZones2011/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Constraint name="ImplementsBasicWFS"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsTransactionalWFS"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsLockingWFS"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="KVPEncoding"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="XMLEncoding"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="SOAPEncoding"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsInheritance"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsRemoteResolve"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsResultPaging"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsStandardJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsSpatialJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsTemporalJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsFeatureVersioning"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ManageStoredQueries"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
  </ows:OperationsMetadata>
  <wfs:FeatureTypeList>
  <wfs:FeatureType>
    <wfs:Name>DataZones2011:DataZone2011Centroids</wfs:Name>
    <wfs:Title>DataZone2011Centroids</wfs:Title>
    <wfs:DefaultCRS>urn:ogc:def:crs:EPSG::27700</wfs:DefaultCRS>
    <ows:WGS84BoundingBox>
      <ows:LowerCorner>-8.10787572 54.61294359</ows:LowerCorner>
      <ows:UpperCorner>-0.86002994 60.76329756</ows:UpperCorner>
    </ows:WGS84BoundingBox>
  </wfs:FeatureType>
  <wfs:FeatureType>
    <wfs:Name>DataZones2011:DataZone2011Boundaries</wfs:Name>
    <wfs:Title>DataZone2011Boundaries</wfs:Title>
    <wfs:DefaultCRS>urn:ogc:def:crs:EPSG::27700</wfs:DefaultCRS>
    <ows:WGS84BoundingBox>
      <ows:LowerCorner>-9.22986757 54.51337235</ows:LowerCorner>
      <ows:UpperCorner>-0.70735614 60.86611140</ows:UpperCorner>
    </ows:WGS84BoundingBox>
  </wfs:FeatureType>
  </wfs:FeatureTypeList>
  <fes:Filter_Capabilities>
  <fes:Conformance>
    <fes:Constraint name="ImplementsQuery"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsAdHocQuery"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsFunctions"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsResourceId"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinStandardFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsStandardFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinSpatialFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSpatialFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinTemporalFilter"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsTemporalFilter"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsVersionNav"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSorting"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsExtendedOperators"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinimumXPath"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSchemaElementFunc"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
  </fes:Conformance>
  <fes:Id_Capabilities>
    <fes:ResourceIdentifier name="fes:ResourceId"/>
  </fes:Id_Capabilities>
  <fes:Scalar_Capabilities>
    <fes:LogicalOperators/>
    <fes:ComparisonOperators>
      <fes:ComparisonOperator name="PropertyIsEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsNotEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsLessThan"/>
      <fes:ComparisonOperator name="PropertyIsGreaterThan"/>
      <fes:ComparisonOperator name="PropertyIsLessThanOrEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsGreaterThanOrEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsLike"/>
      <fes:ComparisonOperator name="PropertyIsNull"/>
      <fes:ComparisonOperator name="PropertyIsNil"/>
      <fes:ComparisonOperator name="PropertyIsBetween"/>
    </fes:ComparisonOperators>
  </fes:Scalar_Capabilities>
  <fes:Spatial_Capabilities>
    <fes:GeometryOperands xmlns:gml="http://www.opengis.net/gml" xmlns:gml32="http://www.opengis.net/gml">
      <fes:GeometryOperand name="gml:Box"/>
      <fes:GeometryOperand name="gml:Envelope"/>
      <fes:GeometryOperand name="gml:Point"/>
      <fes:GeometryOperand name="gml:LineString"/>
      <fes:GeometryOperand name="gml:LinearRing"/>
      <fes:GeometryOperand name="gml:Polygon"/>
      <fes:GeometryOperand name="gml:MultiPoint"/>
      <fes:GeometryOperand name="gml:MultiCurve"/>
      <fes:GeometryOperand name="gml:MultiSurface"/>
    </fes:GeometryOperands>
    <fes:SpatialOperators>
      <fes:SpatialOperator name="BBOX"/>
      <fes:SpatialOperator name="Equals"/>
      <fes:SpatialOperator name="Disjoint"/>
      <fes:SpatialOperator name="Intersects"/>
      <fes:SpatialOperator name="Touches"/>
      <fes:SpatialOperator name="Crosses"/>
      <fes:SpatialOperator name="Within"/>
      <fes:SpatialOperator name="Contains"/>
      <fes:SpatialOperator name="Overlaps"/>
      <fes:SpatialOperator name="DWithin"/>
    </fes:SpatialOperators>
  </fes:Spatial_Capabilities>
  </fes:Filter_Capabilities>
</wfs:WFS_Capabilities>
