<?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:gml="http://www.opengis.net/gml"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 id="ID0001"
                 gco:isoType="gmd:MD_Metadata"
                 xsi:schemaLocation="http://www.isotc211.org/2005/gco http://idec.icc.cat/schema/gco/gco.xsd http://www.isotc211.org/2005/gmd http://idec.icc.cat/schema/gmd/gmd.xsd http://idec.icgc.cat/schema/idec http://idec.icgc.cat/schema/idec/idec.xsd">
   <gmd:fileIdentifier>
          <gco:CharacterString>ESDBBU08054E1M_CAT</gco:CharacterString>
        </gmd:fileIdentifier>
        <gmd:language>
          <gmd:LanguageCode codeList="./resources/codeList.xml#LanguageCode" codeListValue="cat">cat</gmd:LanguageCode>
        </gmd:language>
        <gmd:characterSet>
          <gmd:MD_CharacterSetCode codeList="./resources/codeList.xml#MD_CharacterSetCode"
                               codeListValue="8859part1">8859part1</gmd:MD_CharacterSetCode>
        </gmd:characterSet>
        <gmd:hierarchyLevel>
          <gmd:MD_ScopeCode codeList="./resources/codeList.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
        </gmd:hierarchyLevel>
        <gmd:contact>
          <gmd:CI_ResponsibleParty>
            <gmd:organisationName>
              <gco:CharacterString>Diputació de Barcelona - Oficina Tècnica de Cartografia i SIG Local</gco:CharacterString>
            </gmd:organisationName>
            <gmd:contactInfo>
              <gmd:CI_Contact>
                <gmd:address>
                  <gmd:CI_Address>
                    <gmd:electronicMailAddress>
                        <gco:CharacterString>ot.cartosig@diba.cat</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>2007-01-23</gco:Date>
        </gmd:dateStamp>
        <gmd:metadataStandardName>
          <gco:CharacterString>ISO 19115:2003/Cor.1:2006 Geographic Information - Metadata</gco:CharacterString>
        </gmd:metadataStandardName>
        <gmd:metadataStandardVersion>
          <gco:CharacterString>IS</gco:CharacterString>
        </gmd:metadataStandardVersion>
        <gmd:referenceSystemInfo>
          <gmd:MD_ReferenceSystem>
            <gmd:referenceSystemIdentifier>
              <gmd:RS_Identifier>
                <gmd:code>
                  <gco:CharacterString>EPSG:23031-ED50 / UTM zone 31N</gco:CharacterString>
                </gmd:code>
              </gmd:RS_Identifier>
            </gmd:referenceSystemIdentifier>
          </gmd:MD_ReferenceSystem>
        </gmd:referenceSystemInfo>
        <gmd:identificationInfo>
          <gmd:MD_DataIdentification>
            <gmd:citation>
              <gmd:CI_Citation>
                <gmd:title>
                  <gco:CharacterString>BU08054 - Base Urbana 1:1000 Castellbisbal</gco:CharacterString>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                        <gco:Date>2001-09-21</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:date>
                  <gmd:CI_Date>
                    <gmd:date>
                        <gco:Date>2010-10-15</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                        <gmd:CI_DateTypeCode codeList="./resources/codeList.xml#CI_DateTypeCode" codeListValue="revision">revision</gmd:CI_DateTypeCode>
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
                <gmd:identifier>
                  <gmd:MD_Identifier>
                    <gmd:code>
                        <gco:CharacterString>ESDBBU08054E1M</gco:CharacterString>
                    </gmd:code>
                  </gmd:MD_Identifier>
                </gmd:identifier>
                <gmd:otherCitationDetails>
                  <gco:CharacterString>La data de creació es correspon amb la data del primer vol. La data de revisió, en cas d'existir, es correspon amb la data de l'últim vol.</gco:CharacterString>
                </gmd:otherCitationDetails>
              </gmd:CI_Citation>
            </gmd:citation>
            <gmd:abstract>
              <gco:CharacterString>Cartografia topogràfica urbana a escala 1:1000 dels municipis de la província de Barcelona menors de 20.000 habitants.</gco:CharacterString>
            </gmd:abstract>
            <gmd:purpose>
              <gco:CharacterString>Base de referència cartogràfica per a l'elaboració de cartografia temàtica.</gco:CharacterString>
            </gmd:purpose>
            <gmd:status>
              <gmd:MD_ProgressCode codeList="./resources/codeList.xml#MD_ProgressCode"
                                 codeListValue="underDevelopment">underDevelopment</gmd:MD_ProgressCode>
            </gmd:status>
            <gmd:pointOfContact>
              <gmd:CI_ResponsibleParty>
                <gmd:organisationName>
                  <gco:CharacterString>Diputació de Barcelona - Oficina Tècnica de Cartografia i SIG Local</gco:CharacterString>
                </gmd:organisationName>
                <gmd:contactInfo>
                  <gmd:CI_Contact>
                    <gmd:phone>
                        <gmd:CI_Telephone>
                           <gmd:voice>
                              <gco:CharacterString>934022036</gco:CharacterString>
                           </gmd:voice>
                           <gmd:facsimile>
                              <gco:CharacterString>934020652</gco:CharacterString>
                           </gmd:facsimile>
                        </gmd:CI_Telephone>
                    </gmd:phone>
                    <gmd:address>
                        <gmd:CI_Address>
                           <gmd:deliveryPoint>
                              <gco:CharacterString>C/Comte d'Urgell, 187. Edifici del Rellotge</gco:CharacterString>
                           </gmd:deliveryPoint>
                           <gmd:city>
                              <gco:CharacterString>Barcelona</gco:CharacterString>
                           </gmd:city>
                           <gmd:administrativeArea>
                              <gco:CharacterString>Barcelona</gco:CharacterString>
                           </gmd:administrativeArea>
                           <gmd:postalCode>
                              <gco:CharacterString>08036</gco:CharacterString>
                           </gmd:postalCode>
                           <gmd:country>
                              <gco:CharacterString>Espanya</gco:CharacterString>
                           </gmd:country>
                           <gmd:electronicMailAddress>
                              <gco:CharacterString>ot.cartosig@diba.cat</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="originator">originator</gmd:CI_RoleCode>
                </gmd:role>
              </gmd:CI_ResponsibleParty>
            </gmd:pointOfContact>
            <gmd:resourceFormat>
              <gmd:MD_Format>
                <gmd:name>
                  <gco:CharacterString>DGN</gco:CharacterString>
                </gmd:name>
                <gmd:version>
                  <gco:CharacterString>-</gco:CharacterString>
                </gmd:version>
              </gmd:MD_Format>
            </gmd:resourceFormat>
            <gmd:descriptiveKeywords>
              <gmd:MD_Keywords>
                <gmd:keyword>
                  <gco:CharacterString>Edificis</gco:CharacterString>
                </gmd:keyword>
                <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>Barcelona,mapa,base,urbana</gco:CharacterString>
                </gmd:keyword>
              </gmd:MD_Keywords>
            </gmd:descriptiveKeywords>
            <gmd:resourceConstraints>
              <gmd:MD_SecurityConstraints>
                <gmd:classification>
                  <gmd:MD_ClassificationCode codeList="./resources/codeList.xml#MD_ClassificationCode"
                                             codeListValue="restricted">restricted</gmd:MD_ClassificationCode>
                </gmd:classification>
              </gmd:MD_SecurityConstraints>
            </gmd:resourceConstraints>
            <gmd:resourceConstraints>
              <gmd:MD_LegalConstraints>
                <gmd:accessConstraints>
                  <gmd:MD_RestrictionCode codeList="./resources/codeList.xml#MD_RestrictionCode"
                                          codeListValue="otherRestrictions">otherRestrictions</gmd:MD_RestrictionCode>
                </gmd:accessConstraints>
                <gmd:otherConstraints>
                  <gco:CharacterString>Cartografia disponible per a l'Administració Pública justificant l'ús i les necessitats. Publicada en format WMS.</gco:CharacterString>
                </gmd:otherConstraints>
              </gmd:MD_LegalConstraints>
            </gmd:resourceConstraints>
            <gmd:spatialRepresentationType>
              <gmd:MD_SpatialRepresentationTypeCode codeList="./resources/codeList.xml#MD_SpatialRepresentationTypeCode"
                                                  codeListValue="vector">vector</gmd:MD_SpatialRepresentationTypeCode>
            </gmd:spatialRepresentationType>
            <gmd:spatialResolution>
              <gmd:MD_Resolution>
                <gmd:equivalentScale>
                  <gmd:MD_RepresentativeFraction>
                    <gmd:denominator>
                        <gco:Integer>1000</gco:Integer>
                    </gmd:denominator>
                  </gmd:MD_RepresentativeFraction>
                </gmd:equivalentScale>
              </gmd:MD_Resolution>
            </gmd:spatialResolution>
            <gmd:language>
              <gmd:LanguageCode codeList="./resources/codeList.xml#LanguageCode" codeListValue="cat">cat</gmd:LanguageCode>
            </gmd:language>
            <gmd:characterSet>
              <gmd:MD_CharacterSetCode codeList="./resources/codeList.xml#MD_CharacterSetCode"
                                     codeListValue="8859part1">8859part1</gmd:MD_CharacterSetCode>
            </gmd:characterSet>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>elevation</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>imageryBaseMapsEarthCover</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>location</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>structure</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>transportation</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:topicCategory>
              <gmd:MD_TopicCategoryCode>utilitiesCommunication</gmd:MD_TopicCategoryCode>
            </gmd:topicCategory>
            <gmd:extent>
              <gmd:EX_Extent>
                <gmd:description>
                  <gco:CharacterString>La cartografia cobreix els nuclis urbans, no tota l'extensió del municipi. Aquesta cartografia ha estat elaborada a partir del Plec d'especificacions tècniques per a l'elaboració de cartografia topogràfica 3D 1:1000 i 1:2000, elaborat per l'Oficina Tècnica de Cartografia i SIG Local (OTCSIGL) en col·laboració amb l'Institut Cartogràfic de Catalunya (ICC), amb l'objectiu d'unificar criteris. El nombre d'hectàrees cartografiades per aquest municipi és de 1.336,00 ha.</gco:CharacterString>
                </gmd:description>
                <gmd:geographicElement>
                  <gmd:EX_GeographicBoundingBox>
                    <gmd:westBoundLongitude>
                        <gco:Decimal>1.92341</gco:Decimal>
                    </gmd:westBoundLongitude>
                    <gmd:eastBoundLongitude>
                        <gco:Decimal>2.00612</gco:Decimal>
                    </gmd:eastBoundLongitude>
                    <gmd:southBoundLatitude>
                        <gco:Decimal>41.43756</gco:Decimal>
                    </gmd:southBoundLatitude>
                    <gmd:northBoundLatitude>
                        <gco:Decimal>41.52519</gco:Decimal>
                    </gmd:northBoundLatitude>
                  </gmd:EX_GeographicBoundingBox>
                </gmd:geographicElement>
              </gmd:EX_Extent>
            </gmd:extent>
          </gmd:MD_DataIdentification>
        </gmd:identificationInfo>
        <gmd:distributionInfo>
          <gmd:MD_Distribution>
            <gmd:distributionFormat>
              <gmd:MD_Format>
                <gmd:name>
                  <gco:CharacterString>DGN - Microstation format (Intergraph Corporation)</gco:CharacterString>
                </gmd:name>
                <gmd:version>
                  <gco:CharacterString>-</gco:CharacterString>
                </gmd:version>
              </gmd:MD_Format>
            </gmd:distributionFormat>
            <gmd:distributionFormat>
              <gmd:MD_Format>
                <gmd:name>
                  <gco:CharacterString>DWG</gco:CharacterString>
                </gmd:name>
                <gmd:version>
                  <gco:CharacterString>-</gco:CharacterString>
                </gmd:version>
              </gmd:MD_Format>
            </gmd:distributionFormat>
            <gmd:distributor>
              <gmd:MD_Distributor>
                <gmd:distributorContact>
                  <gmd:CI_ResponsibleParty>
                    <gmd:organisationName>
                        <gco:CharacterString>Diputació de Barcelona - Oficina Tècnica de Cartografia i SIG Local</gco:CharacterString>
                    </gmd:organisationName>
                    <gmd:contactInfo>
                        <gmd:CI_Contact>
                           <gmd:address>
                              <gmd:CI_Address>
                                 <gmd:electronicMailAddress>
                                    <gco:CharacterString>ot.cartosig@diba.cat</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="distributor">distributor</gmd:CI_RoleCode>
                    </gmd:role>
                  </gmd:CI_ResponsibleParty>
                </gmd:distributorContact>
                <gmd:distributorTransferOptions>
                  <gmd:MD_DigitalTransferOptions>
                    <gmd:unitsOfDistribution>
                        <gco:CharacterString>Municipi</gco:CharacterString>
                    </gmd:unitsOfDistribution>
                  </gmd:MD_DigitalTransferOptions>
                </gmd:distributorTransferOptions>
              </gmd:MD_Distributor>
            </gmd:distributor>
          </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="series">series</gmd:MD_ScopeCode>
                </gmd:level>
              </gmd:DQ_Scope>
            </gmd:scope>
            <gmd:report>
              <gmd:DQ_DomainConsistency>
                <gmd:result>
                  <gmd:DQ_ConformanceResult>
                    <gmd:specification>
                        <gmd:CI_Citation>
                           <gmd:title>
                              <gco:CharacterString>Plec d'especificacions tècniques per a l'elaboració de cartografia topogràfica 3D 1:1000 i 1:2000.</gco:CharacterString>
                           </gmd:title>
                           <gmd:date>
                              <gmd:CI_Date>
                                 <gmd:date>
                                    <gco:Date>2011-07-18</gco:Date>
                                 </gmd:date>
                                 <gmd:dateType>
                                    <gmd:CI_DateTypeCode codeList="./resources/codeList.xml#CI_DateTypeCode" codeListValue="revision">revision</gmd:CI_DateTypeCode>
                                 </gmd:dateType>
                              </gmd:CI_Date>
                           </gmd:date>
                        </gmd:CI_Citation>
                    </gmd:specification>
                    <gmd:explanation>
                        <gco:CharacterString>Consulti el camp d'especificació.</gco:CharacterString>
                    </gmd:explanation>
                    <gmd:pass>
                        <gco:Boolean>true</gco:Boolean>
                    </gmd:pass>
                  </gmd:DQ_ConformanceResult>
                </gmd:result>
              </gmd:DQ_DomainConsistency>
            </gmd:report>
            <gmd:lineage>
              <gmd:LI_Lineage>
                <gmd:statement>
                  <gco:CharacterString>Aquesta cartografia es recolza sobre una xarxa de georefenciació municipal, feta amb mètodes topogràfics clàssics (estació total o GPS), materialitzada amb claus sobre el terreny, la immobilitat i la permanència dels quals està garantida amb una precisió de 3 cm., i enllaça amb la Xarxa Utilitària de Catalunya o el SPGIC. La realització d'aquesta cartografia està pensada totalment amb tècniques de fotogrametria amb restituïdors analítics o estacions fotogramètriques digitals d'última generació a partir de vols fotogramètrics digitals de 7,5 centímetres de resolució de pixel (equivalent a l'escala 1:5000 dels vols analògics). A partir del vol s'obté la posició i forma exactes de tots els detalls identificables superiors a 1 mil·límetre a escala del mapa. La cartografia té una acurada revisió de camp, moment en que s'incorporen els noms de carrer, els números de portal i la toponímia.</gco:CharacterString>
                </gmd:statement>
              </gmd:LI_Lineage>
            </gmd:lineage>
          </gmd:DQ_DataQuality>
        </gmd:dataQualityInfo>
        <gmd:metadataMaintenance>
          <gmd:MD_MaintenanceInformation>
            <gmd:maintenanceAndUpdateFrequency>
              <gmd:MD_MaintenanceFrequencyCode codeList="./resources/codeList.xml#MD_MaintenanceFrequencyCode"
                                             codeListValue="asNeeded">asNeeded</gmd:MD_MaintenanceFrequencyCode>
            </gmd:maintenanceAndUpdateFrequency>
          </gmd:MD_MaintenanceInformation>
        </gmd:metadataMaintenance>
      </gmd:MD_Metadata>