<?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://sig.lneg.pt/server/services/CGP50k/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://sig.lneg.pt/server/services/CGP50k/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://sig.lneg.pt/server/services/CGP50k/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://sig.lneg.pt/server/services/CGP50k/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://sig.lneg.pt/server/services/CGP50k/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://sig.lneg.pt/server/services/CGP50k/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[Carta Geológica de Portugal, escala 50 000]]></Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.763262</westBoundLongitude><eastBoundLongitude>-6.116142</eastBoundLongitude><southBoundLatitude>36.868034</southBoundLatitude><northBoundLatitude>42.221723</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.763262" miny="36.868034" maxx="-6.116142" maxy="42.221723"/>
<BoundingBox CRS="EPSG:4326" minx="36.868034" miny="-9.763262" maxx="42.221723" maxy="-6.116142"/>
<BoundingBox CRS="EPSG:3857" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
<BoundingBox CRS="EPSG:102100" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
      <Layer queryable="1">
        <Name>0</Name>
        <Title><![CDATA[Cartograma 50k]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.620736</westBoundLongitude><eastBoundLongitude>-6.202214</eastBoundLongitude><southBoundLatitude>36.960750</southBoundLatitude><northBoundLatitude>42.189552</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.620736" miny="36.960750" maxx="-6.202214" maxy="42.189552"/>
<BoundingBox CRS="EPSG:4326" minx="36.960750" miny="-9.620736" maxx="42.189552" maxy="-6.202214"/>
<BoundingBox CRS="EPSG:3857" minx="-1070975.458100" miny="4433637.262500" maxx="-690427.333800" maxy="5189415.765700"/>
<BoundingBox CRS="EPSG:102100" minx="-1070975.458100" miny="4433637.262500" maxx="-690427.333800" maxy="5189415.765700"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Cartograma 50k]]></Title>
          <LegendURL width="144" height="54">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sig.lneg.pt/server/services/CGP50k/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>
        <MinScaleDenominator>2362351.190476</MinScaleDenominator>
      </Layer>
      <Layer queryable="1">
        <Title><![CDATA[Geologia]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.763262</westBoundLongitude><eastBoundLongitude>-6.116142</eastBoundLongitude><southBoundLatitude>36.868034</southBoundLatitude><northBoundLatitude>42.221723</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.763262" miny="36.868034" maxx="-6.116142" maxy="42.221723"/>
<BoundingBox CRS="EPSG:4326" minx="36.868034" miny="-9.763262" maxx="42.221723" maxy="-6.116142"/>
<BoundingBox CRS="EPSG:3857" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
<BoundingBox CRS="EPSG:102100" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
        <MaxScaleDenominator>2362351.190476</MaxScaleDenominator>
      <Layer queryable="1">
        <Name>2</Name>
        <Title><![CDATA[Image]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.763262</westBoundLongitude><eastBoundLongitude>-6.116142</eastBoundLongitude><southBoundLatitude>36.868034</southBoundLatitude><northBoundLatitude>42.221723</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.763262" miny="36.868034" maxx="-6.116142" maxy="42.221723"/>
<BoundingBox CRS="EPSG:4326" minx="36.868034" miny="-9.763262" maxx="42.221723" maxy="-6.116142"/>
<BoundingBox CRS="EPSG:3857" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
<BoundingBox CRS="EPSG:102100" minx="-1086841.380168" miny="4420728.416033" maxx="-680845.803978" maxy="5194250.531494"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Image]]></Title>
          <LegendURL width="96" height="72">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sig.lneg.pt/server/services/CGP50k/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[Seamline]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.682364</westBoundLongitude><eastBoundLongitude>-6.196744</eastBoundLongitude><southBoundLatitude>36.945531</southBoundLatitude><northBoundLatitude>42.189554</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.682364" miny="36.945531" maxx="-6.196744" maxy="42.189554"/>
<BoundingBox CRS="EPSG:4326" minx="36.945531" miny="-9.682364" maxx="42.189554" maxy="-6.196744"/>
<BoundingBox CRS="EPSG:3857" minx="-1077835.815504" miny="4431517.265707" maxx="-689818.365531" maxy="5189416.107412"/>
<BoundingBox CRS="EPSG:102100" minx="-1077835.815504" miny="4431517.265707" maxx="-689818.365531" maxy="5189416.107412"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Seamline]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sig.lneg.pt/server/services/CGP50k/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[Footprint]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.763262</westBoundLongitude><eastBoundLongitude>-6.116165</eastBoundLongitude><southBoundLatitude>36.868055</southBoundLatitude><northBoundLatitude>42.221723</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.763262" miny="36.868055" maxx="-6.116165" maxy="42.221723"/>
<BoundingBox CRS="EPSG:4326" minx="36.868055" miny="-9.763262" maxx="42.221723" maxy="-6.116165"/>
<BoundingBox CRS="EPSG:3857" minx="-1086841.380168" miny="4420731.235372" maxx="-680848.354396" maxy="5194250.531487"/>
<BoundingBox CRS="EPSG:102100" minx="-1086841.380168" miny="4420731.235372" maxx="-680848.354396" maxy="5194250.531487"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Footprint]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sig.lneg.pt/server/services/CGP50k/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 queryable="1">
        <Name>5</Name>
        <Title><![CDATA[Boundary]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>-9.763262</westBoundLongitude><eastBoundLongitude>-6.116165</eastBoundLongitude><southBoundLatitude>36.868055</southBoundLatitude><northBoundLatitude>42.221723</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-9.763262" miny="36.868055" maxx="-6.116165" maxy="42.221723"/>
<BoundingBox CRS="EPSG:4326" minx="36.868055" miny="-9.763262" maxx="42.221723" maxy="-6.116165"/>
<BoundingBox CRS="EPSG:3857" minx="-1086841.380168" miny="4420731.235372" maxx="-680848.354396" maxy="5194250.531487"/>
<BoundingBox CRS="EPSG:102100" minx="-1086841.380168" miny="4420731.235372" maxx="-680848.354396" maxy="5194250.531487"/>
        <Style>
          <Name>default</Name>
          <Title><![CDATA[Boundary]]></Title>
          <LegendURL width="18" height="18">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://sig.lneg.pt/server/services/CGP50k/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=5" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
