<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"
                 xmlns:gco="http://www.isotc211.org/2005/gco"
                 xmlns:srv="http://www.isotc211.org/2005/srv"
                 xmlns:gml="http://www.opengis.net/gml/"
                 xmlns:gts="http://www.isotc211.org/2005/gts/"
                 xmlns:xlink="http://www.w3.org/1999/xlink/"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd">
  <gmd:fileIdentifier>
      <gco:CharacterString>4fd2d44a-2de9-4b05-a982-d43b66fb6300</gco:CharacterString>
  </gmd:fileIdentifier>
  <gmd:language>
      <gmd:LanguageCode codeList="./resources/codeList.xml#LanguageCode" codeListValue="spa">spa</gmd:LanguageCode>
  </gmd:language>
  <gmd:characterSet>
      <gmd:MD_CharacterSetCode codeList="./resources/codeList.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode>
  </gmd:characterSet>
  <gmd:parentIdentifier gco:nilReason="missing"/>
  <gmd:hierarchyLevel>
      <gmd:MD_ScopeCode codeList="./resources/codeList.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode>
  </gmd:hierarchyLevel>
  <gmd:hierarchyLevelName gco:nilReason="missing"/>
  <gmd:contact>
      <gmd:CI_ResponsibleParty>
         <gmd:individualName gco:nilReason="missing"/>
         <gmd:organisationName>
            <gco:CharacterString>Ayuntamiento de Madrid. A.G. Urbanismo, Medio Ambiente y Movilidad. Departamento de Cartografía.</gco:CharacterString>
         </gmd:organisationName>
         <gmd:positionName gco:nilReason="missing"/>
         <gmd:contactInfo>
            <gmd:CI_Contact>
               <gmd:address>
                  <gmd:CI_Address>
                     <gmd:electronicMailAddress>
                        <gco:CharacterString>dptocartografia@madrid.es</gco:CharacterString>
                     </gmd:electronicMailAddress>
                  </gmd:CI_Address>
               </gmd:address>
            </gmd:CI_Contact>
         </gmd:contactInfo>
         <gmd:role>
            <gmd:CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
         </gmd:role>
      </gmd:CI_ResponsibleParty>
  </gmd:contact>
  <gmd:dateStamp>
      <gco:Date>2021-09-06</gco:Date>
  </gmd:dateStamp>
  <gmd:metadataStandardName>
      <gco:CharacterString>ISO 19115</gco:CharacterString>
  </gmd:metadataStandardName>
  <gmd:metadataStandardVersion>
      <gco:CharacterString>ISO19115:2003/Cor 1 2006</gco:CharacterString>
  </gmd:metadataStandardVersion>
  <gmd:referenceSystemInfo>
      <gmd:MD_ReferenceSystem>
         <gmd:referenceSystemIdentifier>
            <gmd:RS_Identifier>
               <gmd:code>
                  <gco:CharacterString>EPSG:25830</gco:CharacterString>
               </gmd:code>
            </gmd:RS_Identifier>
         </gmd:referenceSystemIdentifier>
      </gmd:MD_ReferenceSystem>
  </gmd:referenceSystemInfo>
  <gmd:identificationInfo>
      <srv:SV_ServiceIdentification>
         <gmd:citation>
            <gmd:CI_Citation>
               <gmd:title>
                  <gco:CharacterString>Potencialidad solar de las cubiertas de los edificios de la ciudad en el año 2020.</gco:CharacterString>
               </gmd:title>
               <gmd:date>
                  <gmd:CI_Date>
                     <gmd:date>
                        <gco:Date>2020-07-01</gco:Date>
                     </gmd:date>
                     <gmd:dateType>
                        <gmd:CI_DateTypeCode codeList="./resources/codeList.xml#CI_DateTypeCode" codeListValue="creation">creation</gmd:CI_DateTypeCode>
                     </gmd:dateType>
                  </gmd:CI_Date>
               </gmd:date>
               <gmd:identifier>
                  <gmd:MD_Identifier>
                     <gmd:code>
                        <gco:CharacterString>http://geoportal.madrid.es/metadata/4fd2d44a-2de9-4b05-a982-d43b66fb6300</gco:CharacterString>
                     </gmd:code>
                  </gmd:MD_Identifier>
               </gmd:identifier>
            </gmd:CI_Citation>
         </gmd:citation>
         <gmd:abstract>
            <gco:CharacterString>Determinación de la potencialidad solar de las cubiertas de los edificios de la ciudad en 2020. En las escalas de menor detalle se muestra la representación del manzanero con la media del potencial solar de los edificios que comprenden cada manzana. En escalas de más detalle se representa la cubierta del edificio con la simbología del índice de potencial solar calculado a partir de parámetros físicos (áreas, orientación y pendiente de las cubiertas) y parámetros radiativos (porcentaje de horas de sol, radiación normal incidente) mediante un análisis multicriterio con la siguiente ponderación:                                                                                                                                    
                                                                      Potencialidad Solar = HS*0,40 + O*0,20 + P*0,10 + A*0,30
                                                                      Donde:
                                                                      HS: Porcentaje de horas de sol
                                                                      O: Orientación
                                                                      P: Pendiente
                                                                      A: Área</gco:CharacterString>
         </gmd:abstract>
         <gmd:purpose>
            <gco:CharacterString>Obtener un mapa de la ciudad con el potencial solar de las cubierta de sus edificaciones.</gco:CharacterString>
         </gmd:purpose>
         <gmd:pointOfContact>
            <gmd:CI_ResponsibleParty>
               <gmd:individualName gco:nilReason="missing"/>
               <gmd:organisationName>
                  <gco:CharacterString>Ayuntamiento de Madrid. A.G. Urbanismo, Medio Ambiente y Movilidad. Departamento de Cartografía.</gco:CharacterString>
               </gmd:organisationName>
               <gmd:positionName gco:nilReason="missing"/>
               <gmd:contactInfo>
                  <gmd:CI_Contact>
                     <gmd:address>
                        <gmd:CI_Address>
                           <gmd:electronicMailAddress>
                              <gco:CharacterString>dptocartografia@madrid.es</gco:CharacterString>
                           </gmd:electronicMailAddress>
                        </gmd:CI_Address>
                     </gmd:address>
                  </gmd:CI_Contact>
               </gmd:contactInfo>
               <gmd:role>
                  <gmd:CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
               </gmd:role>
            </gmd:CI_ResponsibleParty>
         </gmd:pointOfContact>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>http://datos.gob.es/kos/sector-publico/sector/urbanismo-infraestructuras</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>http://geoportal.madrid.es/categoria/teledeteccion</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>Cubierta terrestre</gco:CharacterString>
               </gmd:keyword>
               <gmd:type>
                  <gmd:MD_KeywordTypeCode codeList="./resources/codeList.xml#MD_KeywordTypeCode" codeListValue="theme">theme</gmd:MD_KeywordTypeCode>
               </gmd:type>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gco:CharacterString>GEMET - INSPIRE themes, version 1.0</gco:CharacterString>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2008-06-01</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeList="./resources/codeList.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>Insolación</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>solar</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>cubiertas</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>radiación</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:resourceConstraints>
            <gmd:MD_Constraints>
               <gmd:useLimitation>
                  <gco:CharacterString>https://datos.madrid.es/egob/catalogo/aviso-legal</gco:CharacterString>
               </gmd:useLimitation>
            </gmd:MD_Constraints>
         </gmd:resourceConstraints>
         <srv:serviceType>
            <gco:LocalName>view</gco:LocalName>
         </srv:serviceType>
         <srv:extent>
            <gmd:EX_Extent>
               <gmd:description gco:nilReason="missing"/>
               <gmd:geographicElement>
                  <gmd:EX_GeographicBoundingBox>
                     <gmd:westBoundLongitude>
                        <gco:Decimal>-3.888585</gco:Decimal>
                     </gmd:westBoundLongitude>
                     <gmd:eastBoundLongitude>
                        <gco:Decimal>-3.516245</gco:Decimal>
                     </gmd:eastBoundLongitude>
                     <gmd:southBoundLatitude>
                        <gco:Decimal>40.311410</gco:Decimal>
                     </gmd:southBoundLatitude>
                     <gmd:northBoundLatitude>
                        <gco:Decimal>40.645133</gco:Decimal>
                     </gmd:northBoundLatitude>
                  </gmd:EX_GeographicBoundingBox>
               </gmd:geographicElement>
               <gmd:temporalElement gco:nilReason="missing"/>
               <gmd:verticalElement gco:nilReason="missing"/>
            </gmd:EX_Extent>
         </srv:extent>
         <srv:couplingType>
            <srv:SV_CouplingType codeList="./resources/codeList.xml#SV_CouplingType" codeListValue="loose">loose</srv:SV_CouplingType>
         </srv:couplingType>
         <srv:containsOperations>
            <srv:SV_OperationMetadata>
               <srv:operationName>
                  <gco:CharacterString>GetCapabilities</gco:CharacterString>
               </srv:operationName>
               <srv:DCP>
                  <srv:DCPList codeList="./resources/codeList.xml#DCPList" codeListValue="WebServices">WebServices</srv:DCPList>
               </srv:DCP>
               <srv:connectPoint>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://sigma.madrid.es/hosted/services/SATELITE/POTENCIALIDAD_SOLAR_DE_LAS_CUBIERTAS_DE_LOS_EDIFICIOS_2020/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS</gmd:URL>
                     </gmd:linkage>
                  </gmd:CI_OnlineResource>
               </srv:connectPoint>
            </srv:SV_OperationMetadata>
         </srv:containsOperations>
         <srv:containsOperations>
            <srv:SV_OperationMetadata>
               <srv:operationName>
                  <gco:CharacterString>GetMap</gco:CharacterString>
               </srv:operationName>
               <srv:DCP>
                  <srv:DCPList codeList="./resources/codeList.xml#DCPList" codeListValue="WebServices">WebServices</srv:DCPList>
               </srv:DCP>
               <srv:connectPoint>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://sigma.madrid.es/hosted/rest/services/SATELITE/POTENCIALIDAD_SOLAR_DE_LAS_CUBIERTAS_DE_LOS_EDIFICIOS_2020/MapServer</gmd:URL>
                     </gmd:linkage>
                  </gmd:CI_OnlineResource>
               </srv:connectPoint>
            </srv:SV_OperationMetadata>
         </srv:containsOperations>
         <srv:containsOperations>
            <srv:SV_OperationMetadata>
               <srv:operationName>
                  <gco:CharacterString>GetFeatureInfo</gco:CharacterString>
               </srv:operationName>
               <srv:DCP>
                  <srv:DCPList codeList="./resources/codeList.xml#DCPList" codeListValue="WebServices">WebServices</srv:DCPList>
               </srv:DCP>
               <srv:connectPoint>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://sigma.madrid.es/hosted/rest/services/SATELITE/POTENCIALIDAD_SOLAR_DE_LAS_CUBIERTAS_DE_LOS_EDIFICIOS_2020/MapServer</gmd:URL>
                     </gmd:linkage>
                  </gmd:CI_OnlineResource>
               </srv:connectPoint>
            </srv:SV_OperationMetadata>
         </srv:containsOperations>
      </srv:SV_ServiceIdentification>
  </gmd:identificationInfo>
  <gmd:distributionInfo>
      <gmd:MD_Distribution>
         <gmd:distributionFormat gco:nilReason="missing"/>
         <gmd:transferOptions>
            <gmd:MD_DigitalTransferOptions>
               <gmd:onLine>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://sigma.madrid.es/hosted/services/SATELITE/POTENCIALIDAD_SOLAR_DE_LAS_CUBIERTAS_DE_LOS_EDIFICIOS_2020/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS</gmd:URL>
                     </gmd:linkage>
                     <gmd:protocol>
                        <gco:CharacterString>OGC:WMS-1.3.0-http-get-capabilities</gco:CharacterString>
                     </gmd:protocol>
                     <gmd:name>
                        <gco:CharacterString>Servicio de visualización</gco:CharacterString>
                     </gmd:name>
                     <gmd:description>
                        <gco:CharacterString>Servicio OGC.WMS</gco:CharacterString>
                     </gmd:description>
                  </gmd:CI_OnlineResource>
               </gmd:onLine>
               <gmd:onLine>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://sigma.madrid.es/hosted/rest/services/SATELITE/POTENCIALIDAD_SOLAR_DE_LAS_CUBIERTAS_DE_LOS_EDIFICIOS_2020/MapServer</gmd:URL>
                     </gmd:linkage>
                     <gmd:protocol>
                        <gco:CharacterString>ESRI:MAP-1.0-rest-get-open</gco:CharacterString>
                     </gmd:protocol>
                     <gmd:name>
                        <gco:CharacterString>Servicio de visualización</gco:CharacterString>
                     </gmd:name>
                     <gmd:description>
                        <gco:CharacterString>Servicio en formato ESRI.REST</gco:CharacterString>
                     </gmd:description>
                  </gmd:CI_OnlineResource>
               </gmd:onLine>
            </gmd:MD_DigitalTransferOptions>
         </gmd:transferOptions>
         <gmd:transferOptions>
            <gmd:MD_DigitalTransferOptions>
               <gmd:onLine>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://geoportal.madrid.es/fsdescargas/IDEAM_WBGEOPORTAL/SATELITE/POTENCIALIDAD_SOLAR/OT_2020/Potencialidad_Solar_2020_Vectorial.zip</gmd:URL>
                     </gmd:linkage>
                     <gmd:protocol>
                        <gco:CharacterString>WWW:DOWNLOAD-1.0-http--download</gco:CharacterString>
                     </gmd:protocol>
                     <gmd:name>
                        <gco:CharacterString>Potencialidad solar de las cubiertas</gco:CharacterString>
                     </gmd:name>
                     <gmd:description>
                        <gco:CharacterString>Formato shp</gco:CharacterString>
                     </gmd:description>
                  </gmd:CI_OnlineResource>
               </gmd:onLine>
               <gmd:onLine>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://geoportal.madrid.es/fsdescargas/IDEAM_WBGEOPORTAL/SATELITE/POTENCIALIDAD_SOLAR/OT_2020/Potencialidad_Solar_2020_Raster.zip</gmd:URL>
                     </gmd:linkage>
                     <gmd:protocol>
                        <gco:CharacterString>WWW:DOWNLOAD-1.0-http--download</gco:CharacterString>
                     </gmd:protocol>
                     <gmd:name>
                        <gco:CharacterString>Potencialidad solar de las cubiertas</gco:CharacterString>
                     </gmd:name>
                     <gmd:description>
                        <gco:CharacterString>Formato geotif</gco:CharacterString>
                     </gmd:description>
                  </gmd:CI_OnlineResource>
               </gmd:onLine>
            </gmd:MD_DigitalTransferOptions>
         </gmd:transferOptions>
      </gmd:MD_Distribution>
  </gmd:distributionInfo>
  <gmd:dataQualityInfo>
      <gmd:DQ_DataQuality>
         <gmd:scope>
            <gmd:DQ_Scope>
               <gmd:level>
                  <gmd:MD_ScopeCode codeList="./resources/codeList.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode>
               </gmd:level>
               <gmd:levelDescription gco:nilReason="missing"/>
            </gmd:DQ_Scope>
         </gmd:scope>
         <gmd:report gco:nilReason="missing"/>
         <gmd:lineage>
            <gmd:LI_Lineage>
               <gmd:statement>
                  <gco:CharacterString>Pasos del proceso para obtener la potencialidad solar de las cubiertas de los edificios de la ciudad.
                                                                                                                                                                                                              
                                                                                                                                                                                                               Los parámetros físicos, área  en metros cuadrados se ha calculado mediante procedimientos GIS, la orientación y la pendiente en grados se ha calculado a partir de DTM de la ciudad. El DTM se ha obtenido del DSM por el método falso par estéreo de imágenes satelitales. 
                                                                                                                                                                                                                            
                                                                                                                                                                                                              Los parámetros radiativos empleados se han obtenido de la capa ráster de porcentaje de horas de sol de los edificios. La radiación normal incidente es el resultado de la división entre los valores de la capas ráster de porcentaje de horas de sol y el área de cada cubierta.</gco:CharacterString>
               </gmd:statement>
               <gmd:processStep>
                  <gmd:LI_ProcessStep>
                     <gmd:description>
                        <gco:CharacterString>Se realizar una union espacial  entre los datos de las capas ráster con los parámetros calculados y las entidades de la capa vectorial con las superficies de los tejados.</gco:CharacterString>
                     </gmd:description>
                  </gmd:LI_ProcessStep>
               </gmd:processStep>
               <gmd:processStep>
                  <gmd:LI_ProcessStep>
                     <gmd:description>
                        <gco:CharacterString>El cálculo del índice de potencialidad solar se realiza mediante un análisis multicriterio aplicando la siguiente fórmula:
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	 Potencialidad Solar = HS*0,40 + 0*0,20 + P*0,10 + A*0.30
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                 	 Donde:
                                                                                                                                                                                                                                  		HS: porcentaje de horas de sol
                                                                                                                                                                                                                                  		O: Orienteación
                                                                                                                                                                                                                                  		P: Pendiente
                                                                                                                                                                                                                                  		A: Área</gco:CharacterString>
                     </gmd:description>
                  </gmd:LI_ProcessStep>
               </gmd:processStep>
               <gmd:source gco:nilReason="missing"/>
            </gmd:LI_Lineage>
         </gmd:lineage>
      </gmd:DQ_DataQuality>
  </gmd:dataQualityInfo>
</gmd:MD_Metadata>