<?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://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?version=1.3.0%26service=WMS%26request=GetSchemaExtension">
  <Service>
    <Name><![CDATA[WMS]]></Name>
    <Title><![CDATA[Cuencas vertientes a cada estación regeneradora de aguas residuales (ERAR) del municipio de Madrid]]></Title>
    <Abstract><![CDATA[Servicio de mapas que representa que representa las cuencas vertientes a cada estación regeneradora de aguas residuales (ERAR). Se incluye la localización de cada una de las 8 depuradoras y la división de zonas cuya red de alcantarillado vierte a cada una de ellas, para repartir el tratamiento del agua residual generada en el municipio de Madrid.]]></Abstract>
    <KeywordList><Keyword><![CDATA[Medio Ambiente, Cuencas, vertientes, ERAR, alcantarillado, depuración, Áreas, Sistemas, ríos, arroyos, depuradoras, estaciones regeneradoras.]]></Keyword></KeywordList>
    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?"/>
    <ContactInformation>
      <ContactPersonPrimary>
        <ContactPerson><![CDATA[]]></ContactPerson>
        <ContactOrganization><![CDATA[D.G. Gestión del Agua y Zonas Verdes | S.G. Gestión del Agua. | Unidad Técnica]]></ContactOrganization>
      </ContactPersonPrimary>
      <ContactPosition><![CDATA[]]></ContactPosition>
      <ContactAddress>
        <AddressType><![CDATA[]]></AddressType>
        <Address><![CDATA[]]></Address>
        <City><![CDATA[Madrid]]></City>
        <StateOrProvince><![CDATA[]]></StateOrProvince>
        <PostCode><![CDATA[]]></PostCode>
        <Country><![CDATA[]]></Country>
      </ContactAddress>
      <ContactVoiceTelephone><![CDATA[]]></ContactVoiceTelephone>
      <ContactFacsimileTelephone><![CDATA[]]></ContactFacsimileTelephone>
      <ContactElectronicMailAddress><![CDATA[sggestionagua@madrid.es ]]></ContactElectronicMailAddress>
    </ContactInformation>
    <Fees><![CDATA[]]></Fees>
    <AccessConstraints><![CDATA[https://datos.madrid.es/egob/catalogo/aviso-legal]]></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://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/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://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/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://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/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://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/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[CUENCAS_VERTIENTES]]></Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.890018</westBoundLongitude><eastBoundLongitude>-3.444614</eastBoundLongitude><southBoundLatitude>40.295834</southBoundLatitude><northBoundLatitude>40.652986</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.890018" miny="40.295834" maxx="-3.444614" maxy="40.652986"/>
<BoundingBox CRS="EPSG:4326" minx="40.295834" miny="-3.890018" maxx="40.652986" maxy="-3.444614"/>
<BoundingBox CRS="EPSG:25830" minx="424753.542000" miny="4460968.743100" maxx="462213.560100" maxy="4500332.395400"/>
<BoundingBox CRS="EPSG:4258" minx="40.295834" miny="-3.890018" maxx="40.652986" maxy="-3.444614"/>
<BoundingBox CRS="EPSG:32630" minx="424753.542001" miny="4460968.743214" maxx="462213.560100" maxy="4500332.395515"/>
      <Layer queryable="1">
        <Name>0</Name>
        <Title><![CDATA[Cuencas Vertientes]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.889903</westBoundLongitude><eastBoundLongitude>-3.501859</eastBoundLongitude><southBoundLatitude>40.295834</southBoundLatitude><northBoundLatitude>40.644038</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.889903" miny="40.295834" maxx="-3.501859" maxy="40.644038"/>
<BoundingBox CRS="EPSG:4326" minx="40.295834" miny="-3.889903" maxx="40.644038" maxy="-3.501859"/>
<BoundingBox CRS="EPSG:25830" minx="424753.542000" miny="4460968.743100" maxx="457348.259100" maxy="4499365.429000"/>
<BoundingBox CRS="EPSG:4258" minx="40.295834" miny="-3.889903" maxx="40.644038" maxy="-3.501859"/>
<BoundingBox CRS="EPSG:32630" minx="424753.542001" miny="4460968.743214" maxx="457348.259100" maxy="4499365.429115"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Cuencas Vertientes]]></Title>
          <LegendURL width="174" height="180">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=0" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>1</Name>
        <Title><![CDATA[División Áreas]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.889903</westBoundLongitude><eastBoundLongitude>-3.517440</eastBoundLongitude><southBoundLatitude>40.310222</southBoundLatitude><northBoundLatitude>40.643969</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.889903" miny="40.310222" maxx="-3.517440" maxy="40.643969"/>
<BoundingBox CRS="EPSG:4326" minx="40.310222" miny="-3.889903" maxx="40.643969" maxy="-3.517440"/>
<BoundingBox CRS="EPSG:25830" minx="424753.542000" miny="4462565.991000" maxx="456033.323000" maxy="4499365.429000"/>
<BoundingBox CRS="EPSG:4258" minx="40.310222" miny="-3.889903" maxx="40.643969" maxy="-3.517440"/>
<BoundingBox CRS="EPSG:32630" minx="424753.542001" miny="4462565.991114" maxx="456033.323000" maxy="4499365.429115"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[División Áreas]]></Title>
          <LegendURL width="126" height="72">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=1" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>2</Name>
        <Title><![CDATA[Río Manzanares]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.810647</westBoundLongitude><eastBoundLongitude>-3.657323</eastBoundLongitude><southBoundLatitude>40.327938</southBoundLatitude><northBoundLatitude>40.610390</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.810647" miny="40.327938" maxx="-3.657323" maxy="40.610390"/>
<BoundingBox CRS="EPSG:4326" minx="40.327938" miny="-3.810647" maxx="40.610390" maxy="-3.657323"/>
<BoundingBox CRS="EPSG:25830" minx="431422.170900" miny="4464468.778800" maxx="444160.977700" maxy="4495717.457400"/>
<BoundingBox CRS="EPSG:4258" minx="40.327938" miny="-3.810647" maxx="40.610390" maxy="-3.657323"/>
<BoundingBox CRS="EPSG:32630" minx="431422.170900" miny="4464468.778914" maxx="444160.977700" maxy="4495717.457515"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Río Manzanares]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=2" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>3</Name>
        <Title><![CDATA[Ríos]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.889155</westBoundLongitude><eastBoundLongitude>-3.444644</eastBoundLongitude><southBoundLatitude>40.300512</southBoundLatitude><northBoundLatitude>40.652986</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.889155" miny="40.300512" maxx="-3.444644" maxy="40.652986"/>
<BoundingBox CRS="EPSG:4326" minx="40.300512" miny="-3.889155" maxx="40.652986" maxy="-3.444644"/>
<BoundingBox CRS="EPSG:25830" minx="424826.570900" miny="4461487.335200" maxx="462213.560100" maxy="4500332.395400"/>
<BoundingBox CRS="EPSG:4258" minx="40.300512" miny="-3.889155" maxx="40.652986" maxy="-3.444644"/>
<BoundingBox CRS="EPSG:32630" minx="424826.570901" miny="4461487.335314" maxx="462213.560100" maxy="4500332.395515"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Ríos]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=3" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>4</Name>
        <Title><![CDATA[Estaciones Regeneradoras de Aguas Residuales (ERAR)]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25830</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:32630</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-3.743650</westBoundLongitude><eastBoundLongitude>-3.534373</eastBoundLongitude><southBoundLatitude>40.313528</southBoundLatitude><northBoundLatitude>40.494331</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-3.743650" miny="40.313528" maxx="-3.534373" maxy="40.494331"/>
<BoundingBox CRS="EPSG:4326" minx="40.313528" miny="-3.743650" maxx="40.494331" maxy="-3.534373"/>
<BoundingBox CRS="EPSG:25830" minx="436981.000000" miny="4462820.645500" maxx="454596.000000" maxy="4482763.310000"/>
<BoundingBox CRS="EPSG:4258" minx="40.313528" miny="-3.743650" maxx="40.494331" maxy="-3.534373"/>
<BoundingBox CRS="EPSG:32630" minx="436981.000000" miny="4462820.645614" maxx="454596.000000" maxy="4482763.310115"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Estaciones Regeneradoras de Aguas Residuales (ERAR)]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sigma.madrid.es/hosted/services/GEOPORTAL/CUENCAS_VERTIENTES/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=4" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
