<?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" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd">
<!-- Service Metadata -->
	<Service>
		<!-- The OGC-defined name for this type of service -->
		<Name>WMS</Name>
		<!-- Human-readable title for pick lists -->
		<Title>IHPT - ENC WMS</Title>
		<!-- Narrative description providing additional information -->
		<Abstract>
       Visualization service for Electronic Navigational Charts (ENC) in S-57 format (https://iho.int/en/enc-production, International Hydrographic Organization (IHO)), produced by the Hydrographic Institute (IH). It allows users to access a base map of ENC cartography, covering mainland Portugal and the archipelagos of Madeira and the Azores, Cape Verde and Angola.
       The service can be viewed on desktop GIS software, webGIS and mobile applications. 
       This service must not be used for navigational purposes. 
       Access is free of charge for non-commercial purposes, available to both public and private users. 
       Due to the characteristics of the display systems, the information provided by this service may not coincide with the official ENC cartography information displayed on an Electronic Chart Display and Information System (ECDIS).</Abstract>
			<KeywordList>
			<Keyword>ENC</Keyword>
			<Keyword>S-57</Keyword>
		</KeywordList>

		<!-- Top-level web address of service or service provider. See also OnlineResource elements under <DCPType>. -->
		<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.sevencs.com" />

		<!-- Contact information -->
		<ContactInformation>
			<ContactPersonPrimary>
				<ContactPerson>Direção Técnica</ContactPerson>
				<ContactOrganization>Instituto Hidrográfico</ContactOrganization>
			</ContactPersonPrimary>
			<ContactAddress>
				<AddressType>postal</AddressType>
				<Address>Rua das Trinas, 49</Address>
				<City>Lisboa</City>
				<PostCode>1249-093</PostCode>
				<Country>Portugal</Country>
			</ContactAddress>

			<ContactVoiceTelephone>+351 210 943 000</ContactVoiceTelephone>
			<ContactElectronicMailAddress>centrodados@hidrografico.pt</ContactElectronicMailAddress>
		</ContactInformation>

		<!-- Fees or access constraints imposed. -->
		<Fees>none</Fees>
		<AccessConstraints>Usage Licence - CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)</AccessConstraints>
		<LayerLimit>16</LayerLimit>

		<MaxWidth>2048</MaxWidth>
		<MaxHeight>2048</MaxHeight>
	</Service>

	<Capability>
		<Request>
			<GetCapabilities>
				<Format>text/xml</Format>
				<DCPType>
					<HTTP>
						<Get>
							<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
							xlink:type="simple"
							xlink:href="https://enc.hidrografico.pt/?SERVICE=WMS&amp;VERSION=1.3.0" />
						</Get>

						<Post>
							<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
							xlink:type="simple"
							xlink:href="https://enc.hidrografico.pt/?SERVICE=WMS&amp;VERSION=1.3.0" />
						</Post>
					</HTTP>
				</DCPType>
			</GetCapabilities>

			<GetMap>
        <Format>image/jpg</Format>
<Format>image/png</Format>

				<DCPType>
					<HTTP>
						<Get>
							<!-- The URL here for invoking GetMap using HTTP GET is only a prefix to which a query string is appended. -->
							<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
							xlink:type="simple"
							xlink:href="https://enc.hidrografico.pt/?SERVICE=WMS&amp;VERSION=1.3.0" />
						</Get>
					</HTTP>
				</DCPType>
			</GetMap>

			<GetFeatureInfo>
				<Format>text/xml</Format>
				<Format>text/plain</Format>
				<Format>text/html</Format>
				<DCPType>
					<HTTP>
						<Get>
							<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
							xlink:type="simple"
							xlink:href="https://enc.hidrografico.pt/?SERVICE=WMS&amp;VERSION=1.3.0" />
						</Get>
					</HTTP>
				</DCPType>
			</GetFeatureInfo>
			
		</Request>

		<Exception>
			<Format>XML</Format>
			<Format>INIMAGE</Format>
			<Format>BLANK</Format>
		</Exception>

		<Layer>
			<Title>IHPT ENC WMS - Layers</Title>
      <CRS>CRS:84</CRS>
      <CRS>CRS:83</CRS>
      <CRS>CRS:27</CRS>
      <CRS>AUTO2:42001</CRS>
      <CRS>AUTO2:42002</CRS>
      <CRS>AUTO2:42003</CRS>
      <CRS>AUTO2:42004</CRS>
      <!-- Proprietary Ref-System: -->
      <CRS>AUTO2:7CS01</CRS>
      <CRS>AUTO2:7CS02</CRS>
      <CRS>AUTO2:7CS03</CRS>

      <CRS>EPSG:3395</CRS>
      <CRS>EPSG:3857</CRS>
      <CRS>EPSG:4326</CRS>

      <CRS>EPSG:4087</CRS>
      <CRS>EPSG:4088</CRS>

      <!-- EPSG 25828 -> EPSG:25838 -->
      <CRS>EPSG:25828</CRS>
      <CRS>EPSG:25829</CRS>
      <CRS>EPSG:25831</CRS>
      <CRS>EPSG:25832</CRS>
      <CRS>EPSG:25833</CRS>
      <CRS>EPSG:25834</CRS>
      <CRS>EPSG:25835</CRS>
      <CRS>EPSG:25836</CRS>
      <CRS>EPSG:25837</CRS>
      <CRS>EPSG:25838</CRS	>

      <!-- EPSG 32601 -> EPSG:32661 -->
      <CRS>EPSG:32601</CRS>
      <CRS>EPSG:32602</CRS>
      <CRS>EPSG:32603</CRS>
      <CRS>EPSG:32604</CRS>
      <CRS>EPSG:32605</CRS>
      <CRS>EPSG:32606</CRS>
      <CRS>EPSG:32607</CRS>
      <CRS>EPSG:32608</CRS>
      <CRS>EPSG:32609</CRS>
      <CRS>EPSG:32611</CRS>
      <CRS>EPSG:32612</CRS>
      <CRS>EPSG:32613</CRS>
      <CRS>EPSG:32614</CRS>
      <CRS>EPSG:32615</CRS>
      <CRS>EPSG:32616</CRS>
      <CRS>EPSG:32617</CRS>
      <CRS>EPSG:32618</CRS>
      <CRS>EPSG:32619</CRS>
      <CRS>EPSG:32621</CRS>
      <CRS>EPSG:32622</CRS>
      <CRS>EPSG:32623</CRS>
      <CRS>EPSG:32624</CRS>
      <CRS>EPSG:32625</CRS>
      <CRS>EPSG:32626</CRS>
      <CRS>EPSG:32627</CRS>
      <CRS>EPSG:32628</CRS>
      <CRS>EPSG:32629</CRS>
      <CRS>EPSG:32631</CRS>
      <CRS>EPSG:32632</CRS>
      <CRS>EPSG:32633</CRS>
      <CRS>EPSG:32634</CRS>
      <CRS>EPSG:32635</CRS>
      <CRS>EPSG:32636</CRS>
      <CRS>EPSG:32637</CRS>
      <CRS>EPSG:32638</CRS>
      <CRS>EPSG:32639</CRS>
      <CRS>EPSG:32641</CRS>
      <CRS>EPSG:32642</CRS>
      <CRS>EPSG:32643</CRS>
      <CRS>EPSG:32644</CRS>
      <CRS>EPSG:32645</CRS>
      <CRS>EPSG:32646</CRS>
      <CRS>EPSG:32647</CRS>
      <CRS>EPSG:32648</CRS>
      <CRS>EPSG:32649</CRS>
      <CRS>EPSG:32651</CRS>
      <CRS>EPSG:32652</CRS>
      <CRS>EPSG:32653</CRS>
      <CRS>EPSG:32654</CRS>
      <CRS>EPSG:32655</CRS>
      <CRS>EPSG:32656</CRS>
      <CRS>EPSG:32657</CRS>
      <CRS>EPSG:32658</CRS>
      <CRS>EPSG:32659</CRS>
      <CRS>EPSG:32660</CRS>
      <CRS>EPSG:32661</CRS>

      <!-- EPSG:32701 -> EPSG:32761 -->
      <CRS>EPSG:32701</CRS>
      <CRS>EPSG:32702</CRS>
      <CRS>EPSG:32703</CRS>
      <CRS>EPSG:32704</CRS>
      <CRS>EPSG:32705</CRS>
      <CRS>EPSG:32706</CRS>
      <CRS>EPSG:32707</CRS>
      <CRS>EPSG:32708</CRS>
      <CRS>EPSG:32709</CRS>
      <CRS>EPSG:32711</CRS>
      <CRS>EPSG:32712</CRS>
      <CRS>EPSG:32713</CRS>
      <CRS>EPSG:32714</CRS>
      <CRS>EPSG:32715</CRS>
      <CRS>EPSG:32716</CRS>
      <CRS>EPSG:32717</CRS>
      <CRS>EPSG:32718</CRS>
      <CRS>EPSG:32719</CRS>
      <CRS>EPSG:32721</CRS>
      <CRS>EPSG:32722</CRS>
      <CRS>EPSG:32723</CRS>
      <CRS>EPSG:32724</CRS>
      <CRS>EPSG:32725</CRS>
      <CRS>EPSG:32726</CRS>
      <CRS>EPSG:32727</CRS>
      <CRS>EPSG:32728</CRS>
      <CRS>EPSG:32729</CRS>
      <CRS>EPSG:32731</CRS>
      <CRS>EPSG:32732</CRS>
      <CRS>EPSG:32733</CRS>
      <CRS>EPSG:32734</CRS>
      <CRS>EPSG:32735</CRS>
      <CRS>EPSG:32736</CRS>
      <CRS>EPSG:32737</CRS>
      <CRS>EPSG:32738</CRS>
      <CRS>EPSG:32739</CRS>
      <CRS>EPSG:32741</CRS>
      <CRS>EPSG:32742</CRS>
      <CRS>EPSG:32743</CRS>
      <CRS>EPSG:32744</CRS>
      <CRS>EPSG:32745</CRS>
      <CRS>EPSG:32746</CRS>
      <CRS>EPSG:32747</CRS>
      <CRS>EPSG:32748</CRS>
      <CRS>EPSG:32749</CRS>
      <CRS>EPSG:32751</CRS>
      <CRS>EPSG:32752</CRS>
      <CRS>EPSG:32753</CRS>
      <CRS>EPSG:32754</CRS>
      <CRS>EPSG:32755</CRS>
      <CRS>EPSG:32756</CRS>
      <CRS>EPSG:32757</CRS>
      <CRS>EPSG:32758</CRS>
      <CRS>EPSG:32759</CRS>
      <CRS>EPSG:32760</CRS>
      <CRS>EPSG:32761</CRS>
      <EX_GeographicBoundingBox>
        <westBoundLongitude>-180</westBoundLongitude>
        <eastBoundLongitude>180</eastBoundLongitude>
        <southBoundLatitude>-90</southBoundLatitude>
        <northBoundLatitude>90</northBoundLatitude>
      </EX_GeographicBoundingBox>
      <BoundingBox CRS="CRS:84" minx="-180" miny="-90" maxx="180" maxy="90"/>
	  <BoundingBox CRS="EPSG:3395" minx="-20037508.3427" miny="-19971868.8804" maxx="20037508.3427" maxy="19971868.8804" />
	  <BoundingBox CRS="EPSG:3857" minx="-20037508.3427" miny="-19971868.8804" maxx="20037508.3427" maxy="19971868.8804" />
			<Attribution>
				<Title>Instituto Hidrográfico</Title>
				<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
				xlink:href="https://www.hidrografico.pt/" />
				<LogoURL width="83" height="82">
					<Format>image/jpeg</Format>
					<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
					xlink:type="simple"
					xlink:href="https://geomar.hidrografico.pt/assets/img/logo_hidrografico_1.svg" />
				</LogoURL>
			</Attribution>
      <MetadataURL type="19139">
				<Format>text/html</Format>
				<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
				xlink:href="https://metadata.hidrografico.pt/geonetwork/srv/por/catalog.search#/metadata/249387ba-916a-4d2b-bf49-7ffcb49f50d7" />
			</MetadataURL>
			<!--<ScaleHint min="0.0014" max="5200000.0" />-->
      <Layer queryable="0" opaque="0">
	      <Name>ALL</Name>
	      <Title>ALL</Title>
      </Layer>
      <Layer queryable="1" opaque="1">
	      <Name>ENC</Name>
	      <Title>ENC</Title>
      </Layer>
      <Layer queryable="1" opaque="1">
	      <Name>IENC</Name>
	      <Title>IENC</Title>
      </Layer>  
      <Layer queryable="1" opaque="1">
	      <Name>THE_CHART</Name>
	      <Title>THE_CHART</Title>
      </Layer>
		</Layer>
	</Capability>
</WMS_Capabilities>