<?xml version="1.0" encoding="UTF-8"?>
<WMS_Capabilities version="1.3.0"
  xmlns="http://www.opengis.net/wms"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:esri_wms="http://www.esri.com/wms"
  xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.esri.com/wms https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?version=1.3.0%26service=WMS%26request=GetSchemaExtension">
  <Service>
    <Name><![CDATA[WMS]]></Name>
    <Title><![CDATA[National Records of Scotland Localities View Service (WMS)]]></Title>
    <Abstract><![CDATA[Larger settlements are divided into localities to reflect areas which are more easily identifiable as the towns and cities of Scotland. Statistics produced from this geography can be used to help understand the demographics of local communities. National Records of Scotland (NRS), produces 2 datasets which are designed to show the boundaries of urban areas in Scotland: these datasets are Settlements and Localities. Further details on settlements and localities, including the methodology, can be found in the Special Area Population Estimates: Settlements and Localities section of the NRS website.]]></Abstract>
    <KeywordList><Keyword><![CDATA[Built-up area, Boundaries, Human settlement, Postcodes, Statistical units, Urban communities, Urban settlement]]></Keyword></KeywordList>
    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?"/>
    <ContactInformation>
      <ContactPersonPrimary>
        <ContactPerson><![CDATA[]]></ContactPerson>
        <ContactOrganization><![CDATA[National Records of Scotland]]></ContactOrganization>
      </ContactPersonPrimary>
      <ContactPosition><![CDATA[Geography Branch]]></ContactPosition>
      <ContactAddress>
        <AddressType><![CDATA[Postal]]></AddressType>
        <Address><![CDATA[General Register House, 2 Princes Street]]></Address>
        <City><![CDATA[City of Edinburgh]]></City>
        <StateOrProvince><![CDATA[Scotland]]></StateOrProvince>
        <PostCode><![CDATA[EH1 3YY]]></PostCode>
        <Country><![CDATA[United Kingdom]]></Country>
      </ContactAddress>
      <ContactVoiceTelephone><![CDATA[]]></ContactVoiceTelephone>
      <ContactFacsimileTelephone><![CDATA[]]></ContactFacsimileTelephone>
      <ContactElectronicMailAddress><![CDATA[geographycustomerservices@nrscotland.gov.uk]]></ContactElectronicMailAddress>
    </ContactInformation>
    <Fees><![CDATA[None]]></Fees>
    <AccessConstraints><![CDATA[No limitations on public access]]></AccessConstraints>
    <MaxWidth>4096</MaxWidth>
    <MaxHeight>4096</MaxHeight>
  </Service>
  <Capability>
    <Request>
      <GetCapabilities>
        <Format>application/vnd.ogc.wms_xml</Format>
        <Format>text/xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetCapabilities>
      <GetMap>
        <Format>image/bmp</Format>
        <Format>image/jpeg</Format>
        <Format>image/tiff</Format>
        <Format>image/png</Format>
        <Format>image/png8</Format>
        <Format>image/png24</Format>
        <Format>image/png32</Format>
        <Format>image/gif</Format>
        <Format>image/svg+xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetMap>
      <GetFeatureInfo>
        <Format>application/vnd.esri.wms_raw_xml</Format>
        <Format>application/vnd.esri.wms_featureinfo_xml</Format>
        <Format>application/vnd.ogc.wms_xml</Format>
        <Format>application/geo+json</Format>
        <Format>text/xml</Format>
        <Format>text/html</Format>
        <Format>text/plain</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetFeatureInfo>
      <esri_wms:GetStyles>
        <Format>application/vnd.ogc.sld+xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </esri_wms:GetStyles>
    </Request>
    <Exception>
      <Format>application/vnd.ogc.se_xml</Format>
      <Format>application/vnd.ogc.se_inimage</Format>
      <Format>application/vnd.ogc.se_blank</Format>
      <Format>text/xml</Format>
      <Format>XML</Format>
    </Exception>
    <Layer>
      <Title><![CDATA[Localities]]></Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:27700</CRS>
<CRS>EPSG:4258</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-7.851505</westBoundLongitude><eastBoundLongitude>-1.123333</eastBoundLongitude><southBoundLatitude>54.647704</southBoundLatitude><northBoundLatitude>60.404146</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-7.851505" miny="54.647704" maxx="-1.123333" maxy="60.404146"/>
<BoundingBox CRS="EPSG:4326" minx="54.647704" miny="-7.851505" maxx="60.404146" maxy="-1.123333"/>
<BoundingBox CRS="EPSG:27700" minx="76649.412900" miny="539630.068000" maxx="448299.400000" maxy="1168853.272100"/>
<BoundingBox CRS="EPSG:4258" minx="54.647704" miny="-7.851505" maxx="60.404146" maxy="-1.123333"/>
      <Layer queryable="1">
        <Name>LocalityBoundaries</Name>
        <Title><![CDATA[LocalityBoundaries]]></Title>
        <Abstract><![CDATA[Larger settlements are divided into localities to reflect areas which are more easily identifiable as the towns and cities of Scotland.Statistics produced from this geography can be used to help understand the demographics of local communities.National Records of Scotland (NRS), produces 2 datasets which are designed to show the boundaries of urban areas in Scotland: these datasets are Settlements and Localities.Further details on settlements and localities, including the methodology, can be found in the Special Area Population Estimates: Settlements and Localities section of the NRS website.]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:27700</CRS>
<CRS>EPSG:4258</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-7.851505</westBoundLongitude><eastBoundLongitude>-1.123333</eastBoundLongitude><southBoundLatitude>54.647704</southBoundLatitude><northBoundLatitude>60.404146</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-7.851505" miny="54.647704" maxx="-1.123333" maxy="60.404146"/>
<BoundingBox CRS="EPSG:4326" minx="54.647704" miny="-7.851505" maxx="60.404146" maxy="-1.123333"/>
<BoundingBox CRS="EPSG:27700" minx="76649.412900" miny="539630.068000" maxx="448299.400000" maxy="1168853.272100"/>
<BoundingBox CRS="EPSG:4258" minx="54.647704" miny="-7.851505" maxx="60.404146" maxy="-1.123333"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[LocalityBoundaries]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=LocalityBoundaries" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>LocalityCentroids</Name>
        <Title><![CDATA[LocalityCentroids]]></Title>
        <Abstract><![CDATA[Locality grid references are created and maintained by National Records of Scotland (NRS).Grid references are calculated based on the population of the postcodes within the locality, while ensuring that the centroid is located inside the boundary.Further details on settlements and localities, including the methodology, can be found in the Special Area Population Estimates: Settlements and Localities section of the NRS website.]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:27700</CRS>
<CRS>EPSG:4258</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-7.840269</westBoundLongitude><eastBoundLongitude>-1.151526</eastBoundLongitude><southBoundLatitude>54.653055</southBoundLatitude><northBoundLatitude>60.394329</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-7.840269" miny="54.653055" maxx="-1.151526" maxy="60.394329"/>
<BoundingBox CRS="EPSG:4326" minx="54.653055" miny="-7.840269" maxx="60.394329" maxy="-1.151526"/>
<BoundingBox CRS="EPSG:27700" minx="77177.000000" miny="540190.000000" maxx="446760.000000" maxy="1167760.000000"/>
<BoundingBox CRS="EPSG:4258" minx="54.653055" miny="-7.840269" maxx="60.394329" maxy="-1.151526"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[LocalityCentroids]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://maps.data.gov.scot:443/arcgis/services/NRS/Localities/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=LocalityCentroids" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
