<?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://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?version=1.3.0%26service=WMS%26request=GetSchemaExtension">
  <Service>
    <Name><![CDATA[WMS]]></Name>
    <Title>WMS</Title>
    <Abstract>WMS</Abstract>
    <KeywordList><Keyword><![CDATA[]]></Keyword></KeywordList>
    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?"/>
    <ContactInformation>
      <ContactPersonPrimary>
        <ContactPerson><![CDATA[]]></ContactPerson>
        <ContactOrganization><![CDATA[]]></ContactOrganization>
      </ContactPersonPrimary>
      <ContactPosition><![CDATA[]]></ContactPosition>
      <ContactAddress>
        <AddressType><![CDATA[]]></AddressType>
        <Address><![CDATA[]]></Address>
        <City><![CDATA[]]></City>
        <StateOrProvince><![CDATA[]]></StateOrProvince>
        <PostCode><![CDATA[]]></PostCode>
        <Country><![CDATA[]]></Country>
      </ContactAddress>
      <ContactVoiceTelephone><![CDATA[]]></ContactVoiceTelephone>
      <ContactFacsimileTelephone><![CDATA[]]></ContactFacsimileTelephone>
      <ContactElectronicMailAddress><![CDATA[]]></ContactElectronicMailAddress>
    </ContactInformation>
    <Fees><![CDATA[]]></Fees>
    <AccessConstraints><![CDATA[]]></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://ide.amb.cat/geoserveispi/services/xarxa_tren/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://ide.amb.cat/geoserveispi/services/xarxa_tren/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://ide.amb.cat/geoserveispi/services/xarxa_tren/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://ide.amb.cat/geoserveispi/services/xarxa_tren/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[xarxa_tren_altres]]></Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25831</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>0.288318</westBoundLongitude><eastBoundLongitude>3.161581</eastBoundLongitude><southBoundLatitude>40.578169</southBoundLatitude><northBoundLatitude>42.463250</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="0.288318" miny="40.578169" maxx="3.161581" maxy="42.463250"/>
<BoundingBox CRS="EPSG:4326" minx="40.578169" miny="0.288318" maxx="42.463250" maxy="3.161581"/>
<BoundingBox CRS="EPSG:25831" minx="276939.724300" miny="4495269.816300" maxx="513284.246600" maxy="4701212.429100"/>
      <Layer queryable="1">
        <Name>FGC_lin</Name>
        <Title><![CDATA[FGC_lin]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25831</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>0.611038</westBoundLongitude><eastBoundLongitude>2.184791</eastBoundLongitude><southBoundLatitude>41.301729</southBoundLatitude><northBoundLatitude>42.397447</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="0.611038" miny="41.301729" maxx="2.184791" maxy="42.397447"/>
<BoundingBox CRS="EPSG:4326" minx="41.301729" miny="0.611038" maxx="42.397447" maxy="2.184791"/>
<BoundingBox CRS="EPSG:25831" minx="303314.138400" miny="4574914.995600" maxx="431774.975000" maxy="4694238.682200"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[FGC_lin]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=FGC_lin" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>ADIF_RENFE_lin</Name>
        <Title><![CDATA[ADIF_RENFE_lin]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25831</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>0.288318</westBoundLongitude><eastBoundLongitude>3.161581</eastBoundLongitude><southBoundLatitude>40.578169</southBoundLatitude><northBoundLatitude>42.463250</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="0.288318" miny="40.578169" maxx="3.161581" maxy="42.463250"/>
<BoundingBox CRS="EPSG:4326" minx="40.578169" miny="0.288318" maxx="42.463250" maxy="3.161581"/>
<BoundingBox CRS="EPSG:25831" minx="276939.724300" miny="4495269.816300" maxx="513284.246600" maxy="4701212.429100"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[ADIF_RENFE_lin]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=ADIF_RENFE_lin" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>ADIF_RENFE_est</Name>
        <Title><![CDATA[ADIF_RENFE_est]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25831</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>0.376245</westBoundLongitude><eastBoundLongitude>3.158200</eastBoundLongitude><southBoundLatitude>40.595830</southBoundLatitude><northBoundLatitude>42.463250</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="0.376245" miny="40.595830" maxx="3.158200" maxy="42.463250"/>
<BoundingBox CRS="EPSG:4326" minx="40.595830" miny="0.376245" maxx="42.463250" maxy="3.158200"/>
<BoundingBox CRS="EPSG:25831" minx="284180.070200" miny="4497018.914000" maxx="513006.326700" maxy="4701212.429100"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[ADIF_RENFE_est]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=ADIF_RENFE_est" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>FGC_est</Name>
        <Title><![CDATA[FGC_est]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:25831</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>0.610620</westBoundLongitude><eastBoundLongitude>2.168868</eastBoundLongitude><southBoundLatitude>41.328364</southBoundLatitude><northBoundLatitude>42.254988</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="0.610620" miny="41.328364" maxx="2.168868" maxy="42.254988"/>
<BoundingBox CRS="EPSG:4326" minx="41.328364" miny="0.610620" maxx="42.254988" maxy="2.168868"/>
<BoundingBox CRS="EPSG:25831" minx="302835.736000" miny="4577887.406800" maxx="430470.688000" maxy="4678431.832300"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[FGC_est]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://ide.amb.cat/geoserveispi/services/xarxa_tren/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=FGC_est" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
