<?xml version="1.0" encoding="UTF-8"?>
<!--
 See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 Esri Inc. licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
--><csw:Capabilities xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                  xmlns:gml="http://www.opengis.net/gml"
                  xmlns:ogc="http://www.opengis.net/ogc"
                  xmlns:ows="http://www.opengis.net/ows"
                  xmlns:xlink="http://www.w3.org/1999/xlink"
                  version="2.0.2">
  <ows:ServiceIdentification>
      <ows:Title>
      Esri Geoportal Server - OGC CSW
    </ows:Title>
      <ows:Abstract>
      A catalogue service that conforms to the HTTP protocol binding of the OpenGIS Catalogue Service ISO Metadata Application Profile specification (version 2.0.2)
    </ows:Abstract>
      <ows:Keywords>
         <ows:Keyword>keyword1</ows:Keyword>
         <ows:Keyword>keyword2</ows:Keyword>
      </ows:Keywords>
      <ows:ServiceType>CSW</ows:ServiceType>
      <ows:ServiceTypeVersion>2.0.2</ows:ServiceTypeVersion>
      <ows:Fees>unknown</ows:Fees>
      <ows:AccessConstraints>unknown</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:ServiceProvider>
      <ows:ProviderName>Ayuntamiento de Madrid.</ows:ProviderName>
      <ows:ProviderSite xlink:href="http://localhost"/>
      <ows:ServiceContact>
         <ows:IndividualName>name</ows:IndividualName>
         <ows:PositionName>position</ows:PositionName>
         <ows:ContactInfo>
            <ows:Phone>
               <ows:Voice>voice</ows:Voice>
               <ows:Facsimile>fax</ows:Facsimile>
            </ows:Phone>
            <ows:Address>
               <ows:DeliveryPoint>address1</ows:DeliveryPoint>
               <ows:DeliveryPoint>address2</ows:DeliveryPoint>
               <ows:City>city</ows:City>
               <ows:AdministrativeArea>adminArea</ows:AdministrativeArea>
               <ows:PostalCode>postCode</ows:PostalCode>
               <ows:Country>country</ows:Country>
               <ows:ElectronicMailAddress>email</ows:ElectronicMailAddress>
            </ows:Address>
            <ows:OnlineResource xlink:href=""/>
         </ows:ContactInfo>
	        <ows:Role codeSpace="ISOTC211/19115">pointOfContact</ows:Role>
      </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata>
      <ows:Operation name="GetCapabilities">
         <ows:DCP>
            <ows:HTTP>
               <ows:Get xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw"/>
               <ows:Post xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw">
                  <ows:Constraint name="PostEncoding">
				                 <ows:Value>XML</ows:Value> 
				                 <ows:Value>SOAP</ows:Value> 
			               </ows:Constraint>
		             </ows:Post>
            </ows:HTTP>
         </ows:DCP>
         <ows:Parameter name="AcceptVersions">
            <ows:Value>2.0.2</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="Sections">
            <ows:Value>ServiceIdentification</ows:Value>
            <ows:Value>ServiceProvider</ows:Value>
            <ows:Value>OperationsMetadata</ows:Value>
            <ows:Value>Filter_Capabilities</ows:Value>
         </ows:Parameter>
      </ows:Operation>
      <ows:Operation name="DescribeRecord">
         <ows:DCP>
            <ows:HTTP>
               <ows:Get xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw"/>
               <ows:Post xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw">
                  <ows:Constraint name="PostEncoding">
				                 <ows:Value>XML</ows:Value> 
				                 <ows:Value>SOAP</ows:Value> 				  
			               </ows:Constraint>
		             </ows:Post>
            </ows:HTTP>
         </ows:DCP>
         <ows:Parameter name="typeName">
            <ows:Value>csw:Record</ows:Value>
            <ows:Value>csw:SummaryRecord</ows:Value>
            <ows:Value>csw:BriefRecord</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="outputFormat">
            <ows:Value>text/xml</ows:Value>
            <ows:Value>application/xml</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="schemaLanguage">
            <ows:Value>XMLSCHEMA</ows:Value>
            <ows:Value>http://www.w3.org/XML/Schema</ows:Value>
         </ows:Parameter>
      </ows:Operation>
      <ows:Operation name="GetRecords">
         <ows:DCP>
            <ows:HTTP>
               <ows:Get xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw"/>        
               <ows:Post xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw">
                  <ows:Constraint name="PostEncoding">
				                 <ows:Value>XML</ows:Value> 
				                 <ows:Value>SOAP</ows:Value> 				  
			               </ows:Constraint>
		             </ows:Post>
            </ows:HTTP>
         </ows:DCP>
         <ows:Parameter name="typeNames">
            <ows:Value>csw:Record</ows:Value>
            <ows:Value>gmd:MD_Metadata</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="outputFormat">
            <ows:Value>application/xml</ows:Value>
            <ows:Value>text/xml</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="outputSchema">
            <ows:Value>http://www.opengis.net/cat/csw/2.0.2</ows:Value>
            <ows:Value>http://www.isotc211.org/2005/gmd</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="resultType">
            <ows:Value>results</ows:Value>
            <ows:Value>hits</ows:Value>
            <ows:Value>validate</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="ElementSetName">
            <ows:Value>summary</ows:Value>
            <ows:Value>brief</ows:Value>
            <ows:Value>full</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="CONSTRAINTLANGUAGE">
            <ows:Value>Filter</ows:Value>
         </ows:Parameter>

	        <ows:Constraint name="SupportedCommonQueryables">
		          <ows:Value>Subject</ows:Value>
            <ows:Value>Title</ows:Value>
            <ows:Value>Abstract</ows:Value>
            <ows:Value>AnyText</ows:Value>
            <ows:Value>Format</ows:Value>
            <ows:Value>Identifier</ows:Value>
            <ows:Value>Modified</ows:Value>
            <ows:Value>Type</ows:Value>
            <ows:Value>BoundingBox</ows:Value>
         </ows:Constraint>
        
        
	        <ows:Constraint name="SupportedISOQueryables">
            <ows:Value>apiso:Subject</ows:Value>
            <ows:Value>apiso:Title</ows:Value>
            <ows:Value>apiso:Abstract</ows:Value>
            <ows:Value>apiso:AnyText</ows:Value>
            <ows:Value>apiso:Format</ows:Value>
            <ows:Value>apiso:Identifier</ows:Value>
            <ows:Value>apiso:Modified</ows:Value>
            <ows:Value>apiso:Type</ows:Value>
            <ows:Value>apiso:BoundingBox</ows:Value>
            <ows:Value>apiso:CRS.Authority</ows:Value>
            <ows:Value>apiso:CRS.ID</ows:Value>
            <ows:Value>apiso:CRS.Version</ows:Value>
            <ows:Value>apiso:RevisionDate</ows:Value>
            <ows:Value>apiso:AlternateTitle</ows:Value>
            <ows:Value>apiso:CreationDate</ows:Value>
            <ows:Value>apiso:PublicationDate</ows:Value>
            <ows:Value>apiso:OrganisationName</ows:Value>
            <ows:Value>apiso:HasSecurityConstraints</ows:Value>
            <ows:Value>apiso:Language</ows:Value>
            <ows:Value>apiso:ResourceIdentifier</ows:Value>
            <ows:Value>apiso:ParentIdentifier</ows:Value>
            <ows:Value>apiso:KeywordType</ows:Value>
            <ows:Value>apiso:TopicCategory</ows:Value>
            <ows:Value>apiso:ResourceLanguage</ows:Value>
            <ows:Value>apiso:GeographicDescriptionCode</ows:Value>
            <ows:Value>apiso:Denominator</ows:Value>
            <ows:Value>apiso:DistanceValue</ows:Value>
            <ows:Value>apiso:DistanceUOM</ows:Value>
            <ows:Value>apiso:TempExtent_begin</ows:Value>
            <ows:Value>apiso:TempExtent_end</ows:Value>
            <ows:Value>apiso:ServiceType</ows:Value>
            <ows:Value>apiso:ServiceTypeVersion</ows:Value>
            <ows:Value>apiso:Operation</ows:Value>   
            <ows:Value>apiso:OperatesOn</ows:Value>
            <ows:Value>apiso:OperatesOnIdentifier</ows:Value>   
            <ows:Value>apiso:OperatesOnName</ows:Value>
            <ows:Value>apiso:CouplingType</ows:Value>
         </ows:Constraint>
         <ows:Constraint name="AdditionalQueryables">
		          <ows:Value>apiso:Degree</ows:Value>
		          <ows:Value>apiso:AccessConstraints</ows:Value>
		          <ows:Value>apiso:OtherConstraints</ows:Value>
		          <ows:Value>apiso:Classification</ows:Value>
		          <ows:Value>apiso:ConditionApplyingToAccessAndUse</ows:Value>
		          <ows:Value>apiso:Lineage</ows:Value>
		          <ows:Value>apiso:ResponsiblePartyRole</ows:Value>
		          <ows:Value>apiso:SpecificationTitle</ows:Value>
		          <ows:Value>apiso:SpecificationDate</ows:Value>
		          <ows:Value>apiso:SpecificationDateType</ows:Value>		
         </ows:Constraint> 
      </ows:Operation>
      <ows:Operation name="GetRecordById">
         <ows:DCP>
            <ows:HTTP>
               <ows:Get xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw"/>
               <ows:Post xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw">
                  <ows:Constraint name="PostEncoding">
				                 <ows:Value>XML</ows:Value> 
				                 <ows:Value>SOAP</ows:Value> 				  
			               </ows:Constraint>
		             </ows:Post>
            </ows:HTTP>
         </ows:DCP>
         <ows:Parameter name="ElementSetName">
            <ows:Value>summary</ows:Value>
            <ows:Value>brief</ows:Value>
            <ows:Value>full</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="outputFormat">
            <ows:Value>application/xml</ows:Value>
            <ows:Value>text/xml</ows:Value>
         </ows:Parameter>
         <ows:Parameter name="outputSchema">
            <ows:Value>http://www.opengis.net/cat/csw/2.0.2</ows:Value>
            <ows:Value>http://www.isotc211.org/2005/gmd</ows:Value>
		          <ows:Value>original</ows:Value>
         </ows:Parameter>
      </ows:Operation>
      <ows:Operation name="Transaction">
         <ows:DCP>
            <ows:HTTP>       
               <ows:Post xlink:href="https://servpub.madrid.es/IDEAM_WBGEOPORTAL/csw">
                  <ows:Constraint name="PostEncoding">
				                 <ows:Value>XML</ows:Value> 
				                 <ows:Value>SOAP</ows:Value> 				  
			               </ows:Constraint>
		             </ows:Post>
            </ows:HTTP>
         </ows:DCP>     
      </ows:Operation>
      <ows:Parameter name="service">
         <ows:Value>CSW</ows:Value>
         <ows:Value>http://www.opengis.net/cat/csw/2.0.2</ows:Value>
      </ows:Parameter>
      <ows:Parameter name="version">
         <ows:Value>2.0.2</ows:Value>
      </ows:Parameter>
      <ows:Constraint name="PostEncoding">
         <ows:Value>XML</ows:Value>
      </ows:Constraint>
      <ows:ExtendedCapabilities>
		       <ows:Constraint name="GPTVersion">
			         <ows:Value>10</ows:Value>
		       </ows:Constraint>
		
      </ows:ExtendedCapabilities>
  </ows:OperationsMetadata>
  <ogc:Filter_Capabilities>
      <ogc:Spatial_Capabilities>
         <ogc:GeometryOperands>
            <ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand>
            <ogc:GeometryOperand>gml:Point</ogc:GeometryOperand>
         </ogc:GeometryOperands>
         <ogc:SpatialOperators>
            <ogc:SpatialOperator name="BBOX"/>
            <ogc:SpatialOperator name="Contains"/>
            <ogc:SpatialOperator name="Disjoint"/>
            <ogc:SpatialOperator name="Equals"/>
            <ogc:SpatialOperator name="Intersects"/>
            <ogc:SpatialOperator name="Overlaps"/>
            <ogc:SpatialOperator name="Within"/>
         </ogc:SpatialOperators>
      </ogc:Spatial_Capabilities>
      <ogc:Scalar_Capabilities>
         <ogc:LogicalOperators/>    
         <ogc:ComparisonOperators>
            <ogc:ComparisonOperator>Between</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>EqualTo</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>GreaterThan</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>GreaterThanEqualTo</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>LessThan</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>LessThanEqualTo</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>Like</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>NotEqualTo</ogc:ComparisonOperator>
            <ogc:ComparisonOperator>NullCheck</ogc:ComparisonOperator>
         </ogc:ComparisonOperators>
      </ogc:Scalar_Capabilities>
      <ogc:Id_Capabilities>
         <ogc:EID/>
      </ogc:Id_Capabilities>
  </ogc:Filter_Capabilities>  
</csw:Capabilities>