[GRASS-SVN] r61409 - sandbox/krejcmat/src

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 25 14:06:53 PDT 2014


Author: krejcmat
Date: 2014-07-25 14:06:53 -0700 (Fri, 25 Jul 2014)
New Revision: 61409

Removed:
   sandbox/krejcmat/src/INStest.xml
   sandbox/krejcmat/src/data/
   sandbox/krejcmat/src/editor2.py
   sandbox/krejcmat/src/series.xml
Log:
rm old files

Deleted: sandbox/krejcmat/src/INStest.xml
===================================================================
--- sandbox/krejcmat/src/INStest.xml	2014-07-25 21:04:42 UTC (rev 61408)
+++ sandbox/krejcmat/src/INStest.xml	2014-07-25 21:06:53 UTC (rev 61409)
@@ -1,366 +0,0 @@
-<?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: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/iso/19139/20060504/gmd/gmd.xsd">
-   <gmd:fileIdentifier>
-      <gco:CharacterString>286c0725-146e-4533-b1bf-d6e367f6c342</gco:CharacterString>
-   </gmd:fileIdentifier>
-   <gmd:language>
-      <gmd:LanguageCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#LanguageCode" codeListValue="eng">eng</gmd:LanguageCode>
-   </gmd:language>
-   <gmd:hierarchyLevel>
-      <gmd:MD_ScopeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
-   </gmd:hierarchyLevel>
-   <gmd:contact>
-      <gmd:CI_ResponsibleParty>
-         <gmd:organisationName>
-            <gco:CharacterString>xouxoutos</gco:CharacterString>
-         </gmd:organisationName>
-         <gmd:contactInfo>
-            <gmd:CI_Contact>
-               <gmd:address>
-                  <gmd:CI_Address>
-                     <gmd:electronicMailAddress>
-                        <gco:CharacterString>foufoutos at gmail.com</gco:CharacterString>
-                     </gmd:electronicMailAddress>
-                     <gmd:electronicMailAddress>
-                        <gco:CharacterString>tsiou at gmail.com</gco:CharacterString>
-                     </gmd:electronicMailAddress>
-                  </gmd:CI_Address>
-               </gmd:address>
-            </gmd:CI_Contact>
-         </gmd:contactInfo>
-         <gmd:role>
-            <gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
-         </gmd:role>
-      </gmd:CI_ResponsibleParty>
-   </gmd:contact>
-   <gmd:contact>
-      <gmd:CI_ResponsibleParty>
-         <gmd:organisationName>
-            <gco:CharacterString>momos</gco:CharacterString>
-         </gmd:organisationName>
-         <gmd:contactInfo>
-            <gmd:CI_Contact>
-               <gmd:address>
-                  <gmd:CI_Address>
-                     <gmd:electronicMailAddress>
-                        <gco:CharacterString>kokos at gmail.com</gco:CharacterString>
-                     </gmd:electronicMailAddress>
-                     <gmd:electronicMailAddress>
-                        <gco:CharacterString>lolos at gmail.com</gco:CharacterString>
-                     </gmd:electronicMailAddress>
-                  </gmd:CI_Address>
-               </gmd:address>
-            </gmd:CI_Contact>
-         </gmd:contactInfo>
-         <gmd:role>
-            <gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
-         </gmd:role>
-      </gmd:CI_ResponsibleParty>
-   </gmd:contact>
-   <gmd:dateStamp>
-      <gco:Date>2014-05-20</gco:Date>
-   </gmd:dateStamp>
-   <gmd:metadataStandardName>
-      <gco:CharacterString>ISO19115</gco:CharacterString>
-   </gmd:metadataStandardName>
-   <gmd:metadataStandardVersion>
-      <gco:CharacterString>2003/Cor.1:2006</gco:CharacterString>
-   </gmd:metadataStandardVersion>
-   <gmd:identificationInfo>
-      <gmd:MD_DataIdentification>
-         <gmd:citation>
-            <gmd:CI_Citation>
-               <gmd:title>
-                  <gco:CharacterString>Title bla bla</gco:CharacterString>
-               </gmd:title>
-               <gmd:date>
-                  <gmd:CI_Date>
-                     <gmd:date>
-                        <gco:Date>2014-05-06</gco:Date>
-                     </gmd:date>
-                     <gmd:dateType>
-                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
-                     </gmd:dateType>
-                  </gmd:CI_Date>
-               </gmd:date>
-               <gmd:date>
-                  <gmd:CI_Date>
-                     <gmd:date>
-                        <gco:Date>2014-05-08</gco:Date>
-                     </gmd:date>
-                     <gmd:dateType>
-                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
-                     </gmd:dateType>
-                  </gmd:CI_Date>
-               </gmd:date>
-               <gmd:date>
-                  <gmd:CI_Date>
-                     <gmd:date>
-                        <gco:Date>2014-05-01</gco:Date>
-                     </gmd:date>
-                     <gmd:dateType>
-                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.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>2014-05-12</gco:Date>
-                     </gmd:date>
-                     <gmd:dateType>
-                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision">revision</gmd:CI_DateTypeCode>
-                     </gmd:dateType>
-                  </gmd:CI_Date>
-               </gmd:date>
-               <gmd:identifier>
-                  <gmd:RS_Identifier>
-                     <gmd:code>
-                        <gco:CharacterString>286c0725-146e-4533-b1bf-d6e367f6c342</gco:CharacterString>
-                     </gmd:code>
-                  </gmd:RS_Identifier>
-               </gmd:identifier>
-            </gmd:CI_Citation>
-         </gmd:citation>
-         <gmd:abstract>
-            <gco:CharacterString>Abstract blah blah</gco:CharacterString>
-         </gmd:abstract>
-         <gmd:pointOfContact>
-            <gmd:CI_ResponsibleParty>
-               <gmd:organisationName>
-                  <gco:CharacterString>NTUA</gco:CharacterString>
-               </gmd:organisationName>
-               <gmd:contactInfo>
-                  <gmd:CI_Contact>
-                     <gmd:address>
-                        <gmd:CI_Address>
-                           <gmd:electronicMailAddress>
-                              <gco:CharacterString>lolo2 at gmail.com</gco:CharacterString>
-                           </gmd:electronicMailAddress>
-                        </gmd:CI_Address>
-                     </gmd:address>
-                  </gmd:CI_Contact>
-               </gmd:contactInfo>
-               <gmd:role>
-                  <gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="owner">owner</gmd:CI_RoleCode>
-               </gmd:role>
-            </gmd:CI_ResponsibleParty>
-         </gmd:pointOfContact>
-         <gmd:descriptiveKeywords>
-            <gmd:MD_Keywords>
-               <gmd:keyword>
-                  <gco:CharacterString>Agricultural and aquaculture facilities</gco:CharacterString>
-               </gmd:keyword>
-               <gmd:keyword>
-                  <gco:CharacterString>Bio-geographical regions</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="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.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>test</gco:CharacterString>
-               </gmd:keyword>
-               <gmd:thesaurusName>
-                  <gmd:CI_Citation>
-                     <gmd:title>
-                        <gco:CharacterString>oeo</gco:CharacterString>
-                     </gmd:title>
-                     <gmd:date>
-                        <gmd:CI_Date>
-                           <gmd:date>
-                              <gco:Date>2014-05-20</gco:Date>
-                           </gmd:date>
-                           <gmd:dateType>
-                              <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation">creation</gmd:CI_DateTypeCode>
-                           </gmd:dateType>
-                        </gmd:CI_Date>
-                     </gmd:date>
-                  </gmd:CI_Citation>
-               </gmd:thesaurusName>
-            </gmd:MD_Keywords>
-         </gmd:descriptiveKeywords>
-         <gmd:resourceConstraints>
-            <gmd:MD_Constraints>
-               <gmd:useLimitation>
-                  <gco:CharacterString>no conditions apply</gco:CharacterString>
-               </gmd:useLimitation>
-            </gmd:MD_Constraints>
-         </gmd:resourceConstraints>
-         <gmd:resourceConstraints>
-            <gmd:MD_LegalConstraints>
-               <gmd:accessConstraints>
-                  <gmd:MD_RestrictionCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions">otherRestrictions</gmd:MD_RestrictionCode>
-               </gmd:accessConstraints>
-               <gmd:otherConstraints>
-                  <gco:CharacterString>no limitations</gco:CharacterString>
-               </gmd:otherConstraints>
-            </gmd:MD_LegalConstraints>
-         </gmd:resourceConstraints>
-         <gmd:spatialResolution>
-            <gmd:MD_Resolution>
-               <gmd:equivalentScale>
-                  <gmd:MD_RepresentativeFraction>
-                     <gmd:denominator>
-                        <gco:Integer>5000</gco:Integer>
-                     </gmd:denominator>
-                  </gmd:MD_RepresentativeFraction>
-               </gmd:equivalentScale>
-            </gmd:MD_Resolution>
-         </gmd:spatialResolution>
-         <gmd:spatialResolution>
-            <gmd:MD_Resolution>
-               <gmd:distance>
-                  <gco:Distance uom="Meters">2</gco:Distance>
-               </gmd:distance>
-            </gmd:MD_Resolution>
-         </gmd:spatialResolution>
-         <gmd:language>
-            <gmd:LanguageCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#LanguageCode" codeListValue="eng">eng</gmd:LanguageCode>
-         </gmd:language>
-         <gmd:language>
-            <gmd:LanguageCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#LanguageCode" codeListValue="gre">gre</gmd:LanguageCode>
-         </gmd:language>
-         <gmd:topicCategory>
-            <gmd:MD_TopicCategoryCode>biota</gmd:MD_TopicCategoryCode>
-         </gmd:topicCategory>
-         <gmd:topicCategory>
-            <gmd:MD_TopicCategoryCode>economy</gmd:MD_TopicCategoryCode>
-         </gmd:topicCategory>
-         <gmd:topicCategory>
-            <gmd:MD_TopicCategoryCode>environment</gmd:MD_TopicCategoryCode>
-         </gmd:topicCategory>
-         <gmd:extent>
-            <gmd:EX_Extent>
-               <gmd:geographicElement>
-                  <gmd:EX_GeographicBoundingBox>
-                     <gmd:westBoundLongitude>
-                        <gco:Decimal>23.04</gco:Decimal>
-                     </gmd:westBoundLongitude>
-                     <gmd:eastBoundLongitude>
-                        <gco:Decimal>25.05</gco:Decimal>
-                     </gmd:eastBoundLongitude>
-                     <gmd:southBoundLatitude>
-                        <gco:Decimal>44.03</gco:Decimal>
-                     </gmd:southBoundLatitude>
-                     <gmd:northBoundLatitude>
-                        <gco:Decimal>45.01</gco:Decimal>
-                     </gmd:northBoundLatitude>
-                  </gmd:EX_GeographicBoundingBox>
-               </gmd:geographicElement>
-            </gmd:EX_Extent>
-         </gmd:extent>
-         <gmd:extent>
-            <gmd:EX_Extent>
-               <gmd:temporalElement>
-                  <gmd:EX_TemporalExtent>
-                     <gmd:extent>
-                        <gml:TimePeriod gml:id="ID_05d1d6c2-111f-4dc5-b51d-551a93cfdbbc" xsi:type="gml:TimePeriodType">
-                           <gml:beginPosition>2014-05-20</gml:beginPosition>
-                           <gml:endPosition>2014-05-21</gml:endPosition>
-                        </gml:TimePeriod>
-                     </gmd:extent>
-                  </gmd:EX_TemporalExtent>
-               </gmd:temporalElement>
-            </gmd:EX_Extent>
-         </gmd:extent>
-      </gmd:MD_DataIdentification>
-   </gmd:identificationInfo>
-   <gmd:distributionInfo>
-      <gmd:MD_Distribution>
-         <gmd:distributionFormat>
-            <gmd:MD_Format>
-               <gmd:name gco:nilReason="inapplicable" />
-               <gmd:version gco:nilReason="inapplicable" />
-            </gmd:MD_Format>
-         </gmd:distributionFormat>
-         <gmd:transferOptions>
-            <gmd:MD_DigitalTransferOptions>
-               <gmd:onLine>
-                  <gmd:CI_OnlineResource>
-                     <gmd:linkage>
-                        <gmd:URL>http://publicamundi.eu</gmd:URL>
-                     </gmd:linkage>
-                  </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 codeListValue="dataset" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_ScopeCode">dataset</gmd:MD_ScopeCode>
-               </gmd:level>
-            </gmd:DQ_Scope>
-         </gmd:scope>
-         <gmd:report>
-            <gmd:DQ_DomainConsistency xsi:type="gmd:DQ_DomainConsistency_Type">
-               <gmd:measureIdentification>
-                  <gmd:RS_Identifier>
-                     <gmd:code>
-                        <gco:CharacterString>Conformity_001</gco:CharacterString>
-                     </gmd:code>
-                     <gmd:codeSpace>
-                        <gco:CharacterString>INSPIRE</gco:CharacterString>
-                     </gmd:codeSpace>
-                  </gmd:RS_Identifier>
-               </gmd:measureIdentification>
-               <gmd:result>
-                  <gmd:DQ_ConformanceResult xsi:type="gmd:DQ_ConformanceResult_Type">
-                     <gmd:specification>
-                        <gmd:CI_Citation>
-                           <gmd:title>
-                              <gco:CharacterString>Commission Regulation (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services</gco:CharacterString>
-                           </gmd:title>
-                           <gmd:date>
-                              <gmd:CI_Date>
-                                 <gmd:date>
-                                    <gco:Date>2010-12-08</gco:Date>
-                                 </gmd:date>
-                                 <gmd:dateType>
-                                    <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
-                                 </gmd:dateType>
-                              </gmd:CI_Date>
-                           </gmd:date>
-                        </gmd:CI_Citation>
-                     </gmd:specification>
-                     <gmd:explanation>
-                        <gco:CharacterString>See the referenced specification</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>history blah blah blah</gco:CharacterString>
-               </gmd:statement>
-            </gmd:LI_Lineage>
-         </gmd:lineage>
-      </gmd:DQ_DataQuality>
-   </gmd:dataQualityInfo>
-</gmd:MD_Metadata>

Deleted: sandbox/krejcmat/src/editor2.py
===================================================================
--- sandbox/krejcmat/src/editor2.py	2014-07-25 21:04:42 UTC (rev 61408)
+++ sandbox/krejcmat/src/editor2.py	2014-07-25 21:06:53 UTC (rev 61409)
@@ -1,559 +0,0 @@
-import wx 
-from wx import ID_ANY
-from wx import EVT_BUTTON
-import wx.lib.scrolledpanel as scrolled
-
-from owslib.iso import *
-from jinjainfo  import JinjaTemplateInfo as jt
-from jinjainfo import MdDescription
-
-from lxml import etree as ET
-
-
-#===============================================================================
-#EDITOR                               
-#===============================================================================
-class MD():
-    def __init__(self,pathToXml=None):
-
-        self.path=pathToXml
-        self.owslibInfo=None
-        self.initMD()
-        self.isoOWSLibInfo()
-        self.isoOWSLibInfo1()
-        #self.valueStorageByID={}     #dict wher key= wx.ID and valu = class MdWxInfo()
-
-    def isoOWSLibInfo(self):
-        lst=[]
-        def combineDict(stable,lst):
-            stable=dict(stable, **lst[-1])
-            lst.pop()
-            if len(lst)>0:
-                combineDict(stable,lst)
-            else:
-                self.owslibInfo=stable
-                
-        lst.append(vars(MD_Metadata()))
-        lst.append(vars(CI_Date()))
-        lst.append(vars(CI_ResponsibleParty()))
-        lst.append(vars(MD_DataIdentification()))
-        lst.append(vars(MD_Distributor()))
-        lst.append(vars(MD_Distribution()))
-        lst.append(vars(DQ_DataQuality()))
-        #lst.append(vars(SV_ServiceIdentification()))
-        lst.append(vars(CI_OnlineResource()))
-        lst.append(vars(EX_GeographicBoundingBox()))
-        lst.append(vars(EX_Polygon()))
-        #lst.append(vars(EX_GeographicBoundingPolygon()))
-        lst.append(vars(EX_Extent()))
-        #lst.append(vars(MD_ReferenceSystem()))
-        #lst.append(vars(CodelistCatalogue(1)))
-        d={}
-
-        combineDict(d,lst)
-        #print self.owslibInfo
-    def isoOWSLibInfo1(self):
-        self.dictOWSlibInfo={}
-
-        self.dictOWSlibInfo['MD_Metadata']=vars(MD_Metadata())
-        self.dictOWSlibInfo['CI_Date']=vars(CI_Date())
-        self.dictOWSlibInfo['CI_ResponsibleParty']=vars(CI_ResponsibleParty())
-        self.dictOWSlibInfo['MD_DataIdentification']=vars(MD_DataIdentification())
-        self.dictOWSlibInfo['MD_Distributor']=vars(MD_Distributor())
-        self.dictOWSlibInfo['MD_Distribution']=vars(MD_Distribution())
-        self.dictOWSlibInfo['DQ_DataQuality']=vars(DQ_DataQuality())
-        self.dictOWSlibInfo['CI_OnlineResource']=vars(CI_OnlineResource())
-        self.dictOWSlibInfo['EX_GeographicBoundingBox']=vars(EX_GeographicBoundingBox())        
-        self.dictOWSlibInfo['EX_Polygon']=vars(EX_Polygon())
-        self.dictOWSlibInfo['EX_Extent']=vars(EX_Extent())
-        
-    def initMD(self):        
-        self.path='INStest.xml'
-        tree = ET.parse(self.path)
-        root = tree.getroot()
-        self.md = MD_Metadata(root)
-        #self.md = MD_Metadata(md=None)  
-        #print 
-
-#===============================================================================
-# editor             
-#===============================================================================
-class Editor(wx.Panel):
-    def __init__(self,parent):
-        wx.Panel.__init__(self, parent=parent,id=wx.ID_ANY)
-              
-        
-        mdo=MD()
-        self.md=mdo.md  #instance of 
-        self.owslibInfo=mdo.isoOWSLibInfo
-        self.dictOWSlibInfo=mdo.dictOWSlibInfo
-        
-        self.comboItems=[]  #list in combobox
-        self._layout()    
-        
-        self.templatePath='data/grassInspireTemplate01.xml'
-        #self.templatePath='data/jinjatest.xml'
-        jinj=jt(self.templatePath)
-        self.mdDescription=jinj.mdDescription     #list of object MdDescription
-        
-        self.mdOWSTagStr=jinj.mdOWSTagStr         #string of tags from jinja template (loops and OWSLib objects)   
-        self.mdOWSTagStrList=jinj.mdOWSTagStrList #
-        self.valueStorageWxID={}
-        
-        self.mdDescriptionList=[]
-        
-        
-        #self.initCreatorEmpty()
-        self.initCreatorMD()
-        self.saveXML('a')
-        self.currWXid=None
-        
-#------------------------------------------------------------------------ EVENTS
-    def cloneCtrl(self,evt):
-        print 'pes'
-        #a=MD()
-        
-    def mdBuilder(self,evt):
-        string=evt.GetString()
-        id=evt.GetId() 
-        
-        #print id
-        #print string
-        #=======================================================================
-        # children = self.sizer.GetChildren() 
-        # for child in children:
-        #     widget = child.GetWindow()
-        #     print widget
-        #     if isinstance(widget, wx.TextCtrl):
-        #         widget.Clear()
-        #=======================================================================
-           
-#-------------------------------------------------------------------- CREATE BOX
-    def addBox(self,label,multi=True):
-        self.stbox=wx.StaticBox(self.nbPanel, label=label,id=ID_ANY, style=wx.RAISED_BORDER)
-        self.stbox.SetForegroundColour((0,0,0))
-        self.stbox.SetBackgroundColour((200,200,200))
-        self.stbox.SetFont(wx.Font(12,wx.NORMAL, wx.NORMAL, wx.NORMAL))
-        
-        if multi:
-            self.addBoxButt=wx.Button(self.nbPanel,-1,size=(20,20),label='+') 
-        self._addBoxLay(multi)
-        
-    def _addBoxLay(self,multi):
-        self.boxButtonSizer=wx.BoxSizer(wx.HORIZONTAL)
-        self.nbPanelSizer.AddSpacer(10 , 10, 1, wx.EXPAND) 
-        self.nbPanelSizer.Add(self.boxButtonSizer,flag=wx.EXPAND,proportion=0)
-        self.stBoxSizer = wx.StaticBoxSizer( self.stbox, wx.VERTICAL)
-        self.boxButtonSizer.Add(item=self.stBoxSizer,flag=wx.EXPAND,proportion=1)
-        self.nbPanelSizer.AddSpacer(20 , 20, 1, wx.EXPAND) 
-        if multi:
-            self.boxButtonSizer.Add(self.addBoxButt,0)
-
-#---------------------------------------------------------------------- FILL BOX
-    def fillBox(self,item):
-        self.addItem(item,True)
-
-#--------------------------------------------------------------------- ADD ITEM
-    def addItem(self,item,box=False):
-        label=item.name
-        multiple=item.multiplicity
-        multiline=item.multiline
-        info=self.createInfo(item)  
-        tag=item.tag
-    
-        if box:
-            self.place=self.nbPanel
-            self.sizer=self.stBoxSizer
-            self.sizer.AddSpacer(5 , 5, 1, wx.EXPAND)
-        else:
-            self.place=self.nbPanel
-            self.sizer=self.nbPanelSizer
-            self.sizer.AddSpacer(10 , 10, 1, wx.EXPAND)
-            
-        self.tagText= wx.StaticText(parent=self.place,id=ID_ANY,label=label)
-        if multiline is True:
-                self.valueCtrl = wx.TextCtrl(self.place, id=ID_ANY,  size=(0, 55),
-                                       style=wx.VSCROLL | 
-                                       wx.TE_MULTILINE | wx.TE_DONTWRAP | wx.ST_NO_AUTORESIZE|
-                                       wx.TAB_TRAVERSAL|wx.RAISED_BORDER|wx.HSCROLL)       
-        else:
-                self.valueCtrl = wx.TextCtrl(self.place, id=wx.ID_ANY,  
-                                       style=wx.VSCROLL |  wx.TE_DONTWRAP | 
-                                       wx.TAB_TRAVERSAL|wx.RAISED_BORDER|wx.HSCROLL)  
-                
-                
-#----------------------------------------------------- REGISTER VALUES AND WX ID
-        #register tag to created wx.id
-        #get wxpython id
-        currWXid= self.valueCtrl.GetId()
-        #get current value
-        val=self.mdDescription[self.cTmp].getValue()
-        #=======================================================================
-        # print '-'*50
-        # print self.cTmp
-        # print self.mdDescription[self.cTmp].tag
-        # print self.mdDescription[self.cTmp].name
-        # print val
-        #=======================================================================
-        #set value to ctrl text
-        self.valueCtrl.SetValue(str(val))
-        #add id to object
-        self.mdDescription[self.cTmp].addId(currWXid)
-        
-        self.valueStorageWxID[currWXid]=self.mdDescription[self.cTmp]
-#------------------------------------------------------------------------------ 
-         
-        if multiple:
-            self.addItemButt=wx.Button(self.place,-1,size=(20,20),label='+')
-            #self.addInfoButt=wx.Button(self,-1,size=(20,20),label='I')
-        #BINDS    
-            self.addItemButt.Bind(EVT_BUTTON, self.saveXML)          
-        self.valueCtrl.Bind(wx.EVT_TEXT,self.mdBuilder )
-        
-        self._addItemLay(multiline,multiple)
-                       
-    def _addItemLay(self,multiline,multiple): 
-        
-        if multiline is True:
-            self.textFieldSizer = wx.BoxSizer(wx.HORIZONTAL)  
-            self.textFieldSizer.Add(self.valueCtrl,proportion=1,flag=wx.EXPAND)
-            if multiple:
-                self.textFieldSizer.Add(self.addItemButt,0)
-            self.sizer.Add(item=self.tagText,proportion=0)
-            self.sizer.Add(item=self.textFieldSizer,proportion=0,flag=wx.EXPAND)
-            
-        else:
-            self.textFieldSizer = wx.BoxSizer(wx.HORIZONTAL)  
-            self.textFieldSizer.Add(self.valueCtrl,proportion=1)
-            if multiple:
-                self.textFieldSizer.Add(self.addItemButt,0)
-            self.sizer.Add(item=self.tagText,proportion=0)
-            self.sizer.Add(item=self.textFieldSizer,proportion=0,flag=wx.EXPAND)
-            
-#---------------------------------------------------------------------- NOTEBOOK
-    def addNotebook(self):
-        self.notebook=wx.Notebook(self,id=wx.ID_ANY|wx.HSCROLL)
-        self._addNotebookLay()
-        
-    def _addNotebookLay(self):
-        noteSizer=wx.BoxSizer(wx.VERTICAL)
-        self.notebook.SetSizer(noteSizer)
-        self.mainSizer.Add(self.notebook,proportion=1,flag=wx.EXPAND)   
-              
-#----------------------------------------------------------------- NOTEBOOK PAGE
-    def addNotebookPage(self,label):
-        self.nbPanel=scrolled.ScrolledPanel(self.notebook,id=wx.ID_ANY)
-        self.nbPanel.SetupScrolling()
-        self.notebook.AddPage(self.nbPanel,label)
-        self._addNotebookPageLay()
-
-    def _addNotebookPageLay(self):   
-        self.nbPanelSizer=wx.BoxSizer(wx.VERTICAL)
-        self.nbPanel.SetSizer(self.nbPanelSizer)
- 
-#--------------------------------------------------------------------- COMBO BOX
-    def addCombobox(self):
-        self.combobox=wx.ComboBox(self.nbPanel,values=self.comboItems)
-        self._addComboBoxLay
-        
-    def _addComboBoxLay(self):
-         self.nbPanelSizer.Add(self.comboboxSizer,proportion=0,flag=wx.EXPAND)
-#------------------------------------------------------------- MAIN PANEL LAYOUT
-    def _layout(self):
-        #main sizer in frame
-        self.mainSizer=wx.BoxSizer(wx.VERTICAL)
-        self.SetSizer(self.mainSizer)
-        
-#-------------------------------------------------------------------------- INFO
-    def createInfo(self,item):
-        string=''
-        if item.name !=None:
-            string+='name: '+ item.name + '\n' 
-        if item.desc !=None:
-            string+='description: ' + item.desc + '\n'
-        if item.example  !=None:
-            string+='example: ' + item.example + '\n'   
-        return string         
-#------------------------------------------------------------------------------ 
-#----------------------------------------------------------------------- SaveXML
-#------------------------------------------------------------------------------       
-
-        
-    def plusS(self):
-        self.s+=1
-        if self.s >= self.maxS:
-            self.s-=1
-            print "stop"
-            self.stopS=True  
-             
-    def saveXML(self,evt):
-
-        lstruct=self.mdOWSTagStrList   
-        linfo=self.mdDescription        #from jinja
-
-        self.s=0        #this valus is the index of self.mdOWSTagStrList and also in self.mdDescription
-        self.stopS=False
-        self.maxS=len(linfo)      
-
-        def reverseAssignments(string):
-            pass
-            
-        def inLoop(): 
-            
-            loop = lstruct[self.s-1]
-            print loop
-            
-            while '\t' in lstruct[self.s] and self.stopS is False:
-               
-                
-                if not 'for' in str(lstruct[self.s]).split() or 'if' in str(lstruct[self.s]).split(): 
-                    print  str(lstruct[self.s])
-                    self.plusS()
-                    
-                    
-                    tab='\t'
-                else:
-                    
-                    print  str(lstruct[self.s-1])
-                    print  str(lstruct[self.s])
-                    while '\t\t' in lstruct[self.s] and self.stopS is False:
-                        
-                        
-                        print  str(lstruct[self.s])
-                        tab='\t\t'
-                        self.plusS()
-                    
-                self.plusS()
-            ##print '--'*80
-            #self.s-=1    
-            #str1+= tab+'self.s+=1\n'
-            #self.executeStr(str1,linfo)
-
-        #START of the looop of genereator
-        while self.stopS is False: #self.stop is managed by   def plusC(self):
-            
-            if '\t' in lstruct[self.s]and self.stopS is False: #if starting the loop
-                    
-                    inLoop()                
-
-            elif not 'for' in str(lstruct[self.s]).split() or 'if' in str(lstruct[self.s]).split(): # if just singe item without loop
-                    tag=self.mdDescription[self.s].tag
-                    for item in self.mdDescription[self.s].value:
-                        str1='self.'+str(tag)+' = "'+str(item)+'"'
-                        self.executeStr1(str1,None)
-                    self.plusS()
-            else:
-                    self.plusS()
-                    
-#------------------------------------------------------------------------------ 
-#----------------------------------------------------------------------- CREATOR
-#------------------------------------------------------------------------------ 
-    def executeStr1(self,stri,linfo):
-        print stri
-        exec stri
-            
-    def executeStr(self,stri,linfo):
-        #print stri
-        exec stri
-        
-    def plusC(self):
-        self.c+=1
-        if self.c >= self.max:
-            self.c-=1
-            self.stop=True    
-    
-    #===========================================================================
-    # def initCreatorMD1(self):
-    #     def isList(string):
-    #         string=string.split()
-    #         print string[0]
-    #         if string in self.owslibInfo:
-    #             print
-    #     
-    #     self.addNotebook() 
-    #     markgroup=[]    #notebok panel marker
-    #     lstruct=self.mdOWSTagStrList   
-    #     linfo=self.mdDescription        #from jinja
-    #     
-    #     for item in self.mdOWSTagStrList:
-    #         
-    #         isList(item)
-    #         if '\t' in item:
-    #             pass
-    #         elif 'for' in item.split() or 'if' in item.split(): 
-    #             pass
-    #===========================================================================
-                                            
-    def initCreatorMD(self):  
-        '''
-             @var var:   self.c        index of lstruct and self.mdDescription
-                        lstruct        lstruct is self.mdOWSTagStr in list. Item=line from jinja template(only lines with owslib objects and loops)
-                        linfo          list of MdDescription() objects inicialized by information from jinja t.
-                        markgroup       markers of created list in GUI notebook
-                        self.max        length of lstruct and linfo
-                        self.stop       index self.c is increasing  by function plusC(), that care about  not exceeding the index
-        '''   
-
-       
-        self.addNotebook() 
-        markgroup=[]    #notebok panel marker
-        lstruct=self.mdOWSTagStrList   
-        linfo=self.mdDescription        #from jinja
-
-        self.c=0        #this valus is the index of self.mdOWSTagStrList and also in self.mdDescription
-        self.stop=False
-        self.max=len(linfo)      
-
-        def chckLen():
-            '''
-            @note: -length of list in jinja template is provided by |length.
-                    -need to convert to python len() 
-            '''
-            try:
-                    if '|length' in str(lstruct[self.c-1])and self.stop is False:
-                         a=lstruct[self.c-1]
-                         a=a.replace('|length',')').replace('if ','if len(self.')
-                         lstruct[self.c-1]=a
-            except:   
-                 self.stop=True
-                 #print '='*60
-                 
-        def inBox2(): #function in def initCreatorMD(self):   !!!
-            '''
-            @note: 
-            '''
-            self.k=0
-            loop = lstruct[self.c-1]
-            str2=loop.replace(' md.',' self.md.')+':\n'
-            str2+='\t' +'self.addBox(linfo[' + str(self.c) + '].inbox)\n'
-            str1=str2
-            
-            while '\t' in lstruct[self.c] and self.stop is False:
-                if not 'for' in str(lstruct[self.c]).split() or 'if' in str(lstruct[self.c]).split(): 
-                    value= str(self.mdOWSTagStrList[self.c])
-                    #print value
-                    str1+= '\t' +'self.mdDescription['+str(self.c)+'].addValue('+str(value)+')\n'
-                    str1+= '\t' +'self.cTmp='+str(self.c)+'\n'                         #save -*+9wx id
-                    str1+= '\t' +'self.addItem(linfo[' + str(self.c) + '], True)\n'
-                    tab='\t'
-                else:#if loop in loop
-                    loop = lstruct[self.c]
-                    str2=loop.replace(' md.',' self.md.')+':\n'
-                    self.plusC()
-                    str1+=str2
-                    while '\t\t' in lstruct[self.c] and self.stop is False:
-
-                        value= str(self.mdOWSTagStrList[self.c])
-                        str1+= '\t\t' +'self.mdDescription['+str(self.c)+'].addValue('+str(value)+')\n'
-                        str1+= '\t\t' +'self.cTmp='+str(self.c)+'\n'                         #save wx id
-                        str1+= '\t\t' +'self.addItem(linfo[' + str(self.c) + '], True)\n'
-                        tab='\t\t'   
-                        
-                        self.plusC()
-                    
-                self.plusC()
-            ##print '--'*80
-            self.c-=1    
-            str1+= tab+'self.c+=1\n'
-            
-            self.executeStr(str1,linfo)
-
-   
-        #START of the looop of genereator
-        while self.stop is False: #self.stop is managed by   def plusC(self):
-            group=linfo[self.c].group
-            if group not in markgroup:          #if group is not created
-                markgroup.append(group)         #mark group
-                self.addNotebookPage(linfo[self.c].group)   #crate notebog page in gui
-            
-            val=[]
-            if '\t' in lstruct[self.c]and self.stop is False: #if starting the loop
-                    inBox2()                
-                    chckLen()
-            elif not 'for' in str(lstruct[self.c]).split() or 'if' in str(lstruct[self.c]).split(): # if just singe item without loop
-                    value= 'self.'+str(self.mdOWSTagStrList[self.c]).replace('\n','')
-                    addStr='self.mdDescription['+str(self.c)+'].addValue('+str(value)+')'
-                    ##print '--'*80
-                    ##print addStr
-                    self.executeStr(addStr,False)
-                    self.cTmp=self.c                
-                    self.addItem(linfo[self.c], False)
-                    self.plusC()
-            else:
-                #if lstruct[self.c] is "FOR", "IF" "WHILE"
-
-                self.plusC()
-                
-
-                    #print idem.value
-#===============================================================================
-#         print '========================================'    
-#         for keys,values in self.valueStorageWxID.items():
-#             print(keys)
-#             #print values
-# 
-#             print values
-#             print '------------'
-#===============================================================================
-        
-        #=======================================================================
-        # for values in self.mdDescriptionList:
-        #         print values.id
-        #         print values.name
-        #         print values.value
-        #         print '------------'
-        # #print self.mdDescriptionList[9].id
-        #=======================================================================
-#===============================================================================
-# MAIN FRAME
-#===============================================================================
-class MainFrame(wx.Frame):
-    def __init__(self, parent, ID, title):
-        wx.Frame.__init__(self, parent, ID, title,
-                          wx.DefaultPosition, wx.Size(600, 400))
-        self.panel = Editor(self)
-        self._layout()
- 
-    def _layout(self):
-        topSizer = wx.BoxSizer(wx.VERTICAL)
-        self.SetSizer(topSizer)
-        topSizer.Add(item=self.panel, proportion=1,flag=wx.EXPAND)
-  
-class MyApp(wx.App): 
-    def OnInit(self): 
-        Frame = MainFrame(None, -1, "Frame") 
-        Frame.Show(True) 
-        self.SetTopWindow(Frame) 
-        return True 
-
-if __name__ == '__main__': 
-    App = MyApp(0) 
-    App.MainLoop() 
-    
-    
-    #===========================================================================
-    # def initCreatorMD1(self):        
-    #     self.addNotebook() 
-    #     c=0
-    #     markgroup=[]    #notebok panel marker
-    #     markbox=[]      # box panel marker
-    #     markitem=[]     #item panel marker
-    #     for lstruct, linfo in zip(self.struct.splitlines(),self.mdDescription):
-    #         c+=1
-    #         
-    #         group=linfo.group
-    #         if group not in markgroup:          #if group is not created
-    #             markgroup.append(group)
-    #             self.addNotebookPage(linfo.group)
-    #             for item in self.MDinfoDictGroup[group]:        
-    #                 box=item.inbox
-    #                 if box not in markbox and box!=None:    #if box is not created or item is not in box
-    #                     markbox.append(box)
-    #                     self.addBox(item.inbox)             #mark box
-    #                     for boxite in self.MDinfoDictBox[box]:
-    #                         markitem.append(boxite.num)
-    #                         self.addItem(boxite, True)
-    #                 else:
-    #                     if item.num not in markitem:        #if item is not created
-    #                         self.addItem(item)
-    #===========================================================================    
\ No newline at end of file

Deleted: sandbox/krejcmat/src/series.xml
===================================================================
--- sandbox/krejcmat/src/series.xml	2014-07-25 21:04:42 UTC (rev 61408)
+++ sandbox/krejcmat/src/series.xml	2014-07-25 21:06:53 UTC (rev 61409)
@@ -1,562 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<gmd:MD_Metadata xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xsi:schemaLocation="http://www.isotc211.org/2005/gmx http://eden.ign.fr/xsd/isotc211/isofull/20090316/gmx/gmx.xsd http://www.isotc211.org/2005/srv http://eden.ign.fr/xsd/isotc211/isofull/20090316/srv/srv.xsd">
-<gmd:fileIdentifier>
-<gco:CharacterString>d2bb041c-54c0-4808-bba8-268f474a9b37</gco:CharacterString>
-</gmd:fileIdentifier>
-<gmd:language>
-<LanguageCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#LanguageCode" codeListValue="eng"/>
-</gmd:language>
-<gmd:hierarchyLevel>
-<MD_ScopeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_ScopeCode" codeListValue="series"/>
-</gmd:hierarchyLevel>
-<gmd:hierarchyLevelName>
-<gco:CharacterString>series</gco:CharacterString>
-</gmd:hierarchyLevelName>
-<gmd:contact>
-<gmd:CI_ResponsibleParty>
-<gmd:organisationName>
-<gco:CharacterString>Centre for Ecology & Hydrology</gco:CharacterString>
-</gmd:organisationName>
-<gmd:contactInfo>
-<gmd:CI_Contact>
-<gmd:address>
-<gmd:CI_Address>
-<gmd:deliveryPoint>
-<gco:CharacterString>Lancaster Environment Centre,  Library Avenue, Bailrigg</gco:CharacterString>
-</gmd:deliveryPoint>
-<gmd:city>
-<gco:CharacterString>Lancaster</gco:CharacterString>
-</gmd:city>
-<gmd:administrativeArea>
-<gco:CharacterString>Lancashire</gco:CharacterString>
-</gmd:administrativeArea>
-<gmd:postalCode>
-<gco:CharacterString>LA1 4AP</gco:CharacterString>
-</gmd:postalCode>
-<gmd:country>
-<gco:CharacterString>United Kingdom</gco:CharacterString>
-</gmd:country>
-<gmd:electronicMailAddress>
-<gco:CharacterString>enquiries at ceh.ac.uk</gco:CharacterString>
-</gmd:electronicMailAddress>
-</gmd:CI_Address>
-</gmd:address>
-</gmd:CI_Contact>
-</gmd:contactInfo>
-<gmd:role>
-<gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
-</gmd:role>
-</gmd:CI_ResponsibleParty>
-</gmd:contact>
-<gmd:dateStamp>
-      <gco:Date>2012-10-15</gco:Date>
-  </gmd:dateStamp>
-<gmd:metadataStandardName>
-<gco:CharacterString>INSPIRE Imaplementing Rules for Metadata</gco:CharacterString>
-</gmd:metadataStandardName>
-<gmd:metadataStandardVersion>
-<gco:CharacterString>1.2</gco:CharacterString>
-</gmd:metadataStandardVersion>
-<gmd:referenceSystemInfo>
-<gmd:MD_ReferenceSystem>
-<gmd:referenceSystemIdentifier>
-<gmd:RS_Identifier>
-<gmd:code>
-<gco:CharacterString>27700</gco:CharacterString>
-</gmd:code>
-<gmd:codeSpace>
-<gco:CharacterString>urn:ogc:def:crs:EPSG</gco:CharacterString>
-</gmd:codeSpace>
-<gmd:version>
-<gco:CharacterString>6.11.2</gco:CharacterString>
-</gmd:version>
-</gmd:RS_Identifier>
-</gmd:referenceSystemIdentifier>
-</gmd:MD_ReferenceSystem>
-</gmd:referenceSystemInfo>
-<gmd:identificationInfo>
-      <gmd:MD_DataIdentification>
-<gmd:citation>
-            <gmd:CI_Citation>
-<gmd:title>
-                  <gco:CharacterString>Candidate exemplar well-encoded series</gco:CharacterString>
-               </gmd:title>
-<gmd:alternateTitle>
-<gco:CharacterString>Source of testing template for series records</gco:CharacterString>
-</gmd:alternateTitle>
-<gmd:date>
-<gmd:CI_Date>
-<gmd:date>
-<gco:Date>2011-04-08</gco:Date>
-</gmd:date>
-<gmd:dateType>
-<CI_DateTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication"/>
-</gmd:dateType>
-</gmd:CI_Date>
-</gmd:date>
-<gmd:identifier>
-<gmd:RS_Identifier>
-<gmd:code>
-<gco:CharacterString>1300392329602</gco:CharacterString>
-</gmd:code>
-<gmd:codeSpace>
-<gco:CharacterString>CEH:EIDC:</gco:CharacterString>
-</gmd:codeSpace>
-<gmd:version>
-<gco:CharacterString>1</gco:CharacterString>
-</gmd:version>
-</gmd:RS_Identifier>
-</gmd:identifier>
-<gmd:otherCitationDetails>
-<gco:CharacterString>R.D. Morton, C. Rowland, C. Wood, L. Meek, C. Marston, G. Smith, R. Wadsworth, I. Simpson.  July 2011  CS Technical Report No 11/07: Final Report for LCM2007 - the new UK land cover map.  NERC/Centre for Ecology & Hydrology (CEH Project Number NEC03259).</gco:CharacterString>
-</gmd:otherCitationDetails>
-</gmd:CI_Citation>
-         </gmd:citation>
-<gmd:abstract>
-            <gco:CharacterString>This test record should pass XSD, ISO19139 Schematron, and GEMINI2.1 Schematron validation. Please note that this record is only for testing software and encoding of XML - it is not an example of a well-described dataset series, and must not be used as an example of how to document data series! This record is referenced by the record with UUID 9e7790ab-a37d-4918-8107-5c427798ca68 catalogues that enable Metadata Parent Identifier can exploit that element to navigate between series and dataset.</gco:CharacterString>
-         </gmd:abstract>
-<gmd:status>
-<MD_ProgressCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_ProgressCode" codeListValue="completed"/>
-</gmd:status>
-<gmd:pointOfContact>
-<gmd:CI_ResponsibleParty>
-<gmd:individualName>
-<gco:CharacterString>Morton, D</gco:CharacterString>
-</gmd:individualName>
-<gmd:organisationName>
-<gco:CharacterString>Centre for Ecology & Hydrology</gco:CharacterString>
-</gmd:organisationName>
-<gmd:contactInfo>
-<gmd:CI_Contact>
-<gmd:address>
-<gmd:CI_Address>
-<gmd:deliveryPoint>
-<gco:CharacterString>Lancaster Environment Centre,  Library Avenue, Bailrigg</gco:CharacterString>
-</gmd:deliveryPoint>
-<gmd:city>
-<gco:CharacterString>Lancaster</gco:CharacterString>
-</gmd:city>
-<gmd:administrativeArea>
-<gco:CharacterString>Lancashire</gco:CharacterString>
-</gmd:administrativeArea>
-<gmd:postalCode>
-<gco:CharacterString>LA1 4AP</gco:CharacterString>
-</gmd:postalCode>
-<gmd:country>
-<gco:CharacterString>United Kingdom</gco:CharacterString>
-</gmd:country>
-<gmd:electronicMailAddress>
-<gco:CharacterString>danm at ceh.ac.uk </gco:CharacterString>
-</gmd:electronicMailAddress>
-</gmd:CI_Address>
-</gmd:address>
-</gmd:CI_Contact>
-</gmd:contactInfo>
-<gmd:role>
-<gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
-</gmd:role>
-</gmd:CI_ResponsibleParty>
-</gmd:pointOfContact>
-<gmd:pointOfContact>
-<gmd:CI_ResponsibleParty>
-<gmd:organisationName>
-<gco:CharacterString>Parr Section</gco:CharacterString>
-</gmd:organisationName>
-<gmd:contactInfo>
-<gmd:CI_Contact>
-<gmd:address>
-<gmd:CI_Address>
-<gmd:electronicMailAddress>
-<gco:CharacterString>enquiries at ceh.ac.uk</gco:CharacterString>
-</gmd:electronicMailAddress>
-</gmd:CI_Address>
-</gmd:address>
-</gmd:CI_Contact>
-</gmd:contactInfo>
-<gmd:role>
-<gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="resourceProvider">resourceProvider</gmd:CI_RoleCode>
-</gmd:role>
-</gmd:CI_ResponsibleParty>
-</gmd:pointOfContact>
-<gmd:resourceMaintenance>
-<gmd:MD_MaintenanceInformation>
-<gmd:maintenanceAndUpdateFrequency>
-<MD_MaintenanceFrequencyCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_MaintenanceFrequencyCode" codeListValue="notPlanned"/>
-</gmd:maintenanceAndUpdateFrequency>
-<gmd:maintenanceNote>
-<gco:CharacterString>There are no plans to update this series</gco:CharacterString>
-</gmd:maintenanceNote>
-</gmd:MD_MaintenanceInformation>
-</gmd:resourceMaintenance>
-<gmd:graphicOverview>
-<gmd:MD_BrowseGraphic>
-<gmd:fileName>
-<gco:CharacterString>https://gateway.ceh.ac.uk:443/smartEditor/preview/82a0f4a1-01ff-4ed1-853e-224d8404b3fd.png</gco:CharacterString>
-</gmd:fileName>
-<gmd:fileDescription>
-<gco:CharacterString>thumbnail preview</gco:CharacterString>
-</gmd:fileDescription>
-</gmd:MD_BrowseGraphic>
-</gmd:graphicOverview>
-<gmd:descriptiveKeywords>
-<gmd:MD_Keywords>
-<gmd:keyword>
-<gco:CharacterString>Habitats and biotopes</gco:CharacterString>
-</gmd:keyword>
-<gmd:type>
-<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme"/>
-</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>
-<CI_DateTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="CI_DateTypeCode" codeListValue="publication"/>
-</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>Great Britain</gco:CharacterString>
-</gmd:keyword>
-<gmd:keyword>
-<gco:CharacterString>England</gco:CharacterString>
-</gmd:keyword>
-<gmd:keyword>
-<gco:CharacterString>Scotland Wales</gco:CharacterString>
-</gmd:keyword>
-<gmd:type>
-<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="place"/>
-</gmd:type>
-</gmd:MD_Keywords>
-</gmd:descriptiveKeywords>
-<gmd:descriptiveKeywords>
-<gmd:MD_Keywords>
-<gmd:keyword>
-<gco:CharacterString>CEH Biodiversity Programme</gco:CharacterString>
-</gmd:keyword>
-<gmd:type>
-<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="discipline"/>
-</gmd:type>
-</gmd:MD_Keywords>
-</gmd:descriptiveKeywords>
-<gmd:descriptiveKeywords>
-<gmd:MD_Keywords>
-<gmd:keyword>
-<gco:CharacterString>CEH Project NEC03259</gco:CharacterString>
-</gmd:keyword>
-<gmd:keyword>
-<gco:CharacterString>NERC_DDC</gco:CharacterString>
-</gmd:keyword>
-<gmd:keyword>
-<gco:CharacterString>LCM2007</gco:CharacterString>
-</gmd:keyword>
-<gmd:type>
-<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="discipline"/>
-</gmd:type>
-</gmd:MD_Keywords>
-</gmd:descriptiveKeywords>
-<gmd:descriptiveKeywords>
-<gmd:MD_Keywords>
-<gmd:keyword>
-<gmx:Anchor xlink:href="http://vocabs.lter-europe.net/EnvThes/EUNIS_FA">Hedgerows</gmx:Anchor>
-</gmd:keyword>
-<gmd:type>
-<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme"/>
-</gmd:type>
-</gmd:MD_Keywords>
-</gmd:descriptiveKeywords>
-<gmd:resourceConstraints>
-<gmd:MD_LegalConstraints>
-<gmd:useLimitation>
-<gco:CharacterString>Refer to: R.D. Morton, C. Rowland, C. Wood, L. Meek, C. Marston, G. Smith, R. Wadsworth, I. Simpson.  July 2011  CS Technical Report No 11/07: Final Report for LCM2007 - the new UK land cover map.  NERC/Centre for Ecology & Hydrology (CEH Project Number NEC03259).</gco:CharacterString>
-</gmd:useLimitation>
-<gmd:accessConstraints>
-<MD_RestrictionCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_RestrictionCode" codeListValue="license"/>
-</gmd:accessConstraints>
-<gmd:accessConstraints>
-<MD_RestrictionCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/>
-</gmd:accessConstraints>
-<gmd:otherConstraints>
-<gco:CharacterString>Licence terms and conditions apply</gco:CharacterString>
-</gmd:otherConstraints>
-<gmd:otherConstraints>
-<gmx:Anchor xlink:href="http://www.ceh.ac.uk">Test Link</gmx:Anchor>
-</gmd:otherConstraints>
-</gmd:MD_LegalConstraints>
-</gmd:resourceConstraints>
-<gmd:spatialRepresentationType>
-<MD_SpatialRepresentationTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid"/>
-</gmd:spatialRepresentationType>
-<gmd:spatialResolution>
-<gmd:MD_Resolution>
-<gmd:distance>
-<gco:Distance uom="m">1</gco:Distance>
-</gmd:distance>
-</gmd:MD_Resolution>
-</gmd:spatialResolution>
-<gmd:language>
-<LanguageCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#LanguageCode" codeListValue="eng"/>
-</gmd:language>
-<gmd:topicCategory>
-<gmd:MD_TopicCategoryCode>environment</gmd:MD_TopicCategoryCode>
-</gmd:topicCategory>
-<gmd:topicCategory>
-<gmd:MD_TopicCategoryCode>imageryBaseMapsEarthCover</gmd:MD_TopicCategoryCode>
-</gmd:topicCategory>
-<gmd:extent>
-<gmd:EX_Extent>
-<gmd:geographicElement>
-<gmd:EX_GeographicDescription>
-<gmd:geographicIdentifier>
-<gmd:RS_Identifier>
-<gmd:code>
-<gco:CharacterString>ENG</gco:CharacterString>
-</gmd:code>
-<gmd:codeSpace>
-<gco:CharacterString>ISO 3166</gco:CharacterString>
-</gmd:codeSpace>
-<gmd:version>
-<gco:CharacterString>2006, edition 2</gco:CharacterString>
-</gmd:version>
-</gmd:RS_Identifier>
-</gmd:geographicIdentifier>
-</gmd:EX_GeographicDescription>
-</gmd:geographicElement>
-</gmd:EX_Extent>
-</gmd:extent>
-<gmd:extent>
-<gmd:EX_Extent>
-<gmd:geographicElement>
-<gmd:EX_GeographicDescription>
-<gmd:geographicIdentifier>
-<gmd:RS_Identifier>
-<gmd:code>
-<gco:CharacterString>WLS</gco:CharacterString>
-</gmd:code>
-<gmd:codeSpace>
-<gco:CharacterString>ISO 3166</gco:CharacterString>
-</gmd:codeSpace>
-<gmd:version>
-<gco:CharacterString>2006, edition 2</gco:CharacterString>
-</gmd:version>
-</gmd:RS_Identifier>
-</gmd:geographicIdentifier>
-</gmd:EX_GeographicDescription>
-</gmd:geographicElement>
-</gmd:EX_Extent>
-</gmd:extent>
-<gmd:extent>
-<gmd:EX_Extent>
-<gmd:geographicElement>
-<gmd:EX_GeographicDescription>
-<gmd:geographicIdentifier>
-<gmd:RS_Identifier>
-<gmd:code>
-<gco:CharacterString>SCT</gco:CharacterString>
-</gmd:code>
-<gmd:codeSpace>
-<gco:CharacterString>ISO 3166</gco:CharacterString>
-</gmd:codeSpace>
-<gmd:version>
-<gco:CharacterString>2006, edition 2</gco:CharacterString>
-</gmd:version>
-</gmd:RS_Identifier>
-</gmd:geographicIdentifier>
-</gmd:EX_GeographicDescription>
-</gmd:geographicElement>
-</gmd:EX_Extent>
-</gmd:extent>
-<gmd:extent>
-<gmd:EX_Extent>
-<gmd:temporalElement>
-<gmd:EX_TemporalExtent>
-<gmd:extent>
-<gml:TimePeriod gml:id="w5839aaa">
-<gml:beginPosition>2000-10-01</gml:beginPosition>
-<gml:endPosition>2012-10-01</gml:endPosition>
-</gml:TimePeriod>
-</gmd:extent>
-</gmd:EX_TemporalExtent>
-</gmd:temporalElement>
-</gmd:EX_Extent>
-</gmd:extent>
-<gmd:extent>
-<gmd:EX_Extent>
-<gmd:geographicElement>
-<gmd:EX_GeographicBoundingBox>
-<gmd:extentTypeCode>
-<gco:Boolean>true</gco:Boolean>
-</gmd:extentTypeCode>
-<gmd:westBoundLongitude>
-<gco:Decimal>-9.227701</gco:Decimal>
-</gmd:westBoundLongitude>
-<gmd:eastBoundLongitude>
-<gco:Decimal>2.687637</gco:Decimal>
-</gmd:eastBoundLongitude>
-<gmd:southBoundLatitude>
-<gco:Decimal>49.83726</gco:Decimal>
-</gmd:southBoundLatitude>
-<gmd:northBoundLatitude>
-<gco:Decimal>60.850441</gco:Decimal>
-</gmd:northBoundLatitude>
-</gmd:EX_GeographicBoundingBox>
-</gmd:geographicElement>
-</gmd:EX_Extent>
-</gmd:extent>
-<gmd:supplementalInformation>
-<gco:CharacterString>For further information about this test record, please contact eidchub at ceh.ac.uk</gco:CharacterString>
-</gmd:supplementalInformation>
-</gmd:MD_DataIdentification>
-  </gmd:identificationInfo>
-<gmd:distributionInfo>
-      <gmd:MD_Distribution>
-<gmd:distributionFormat>
-<gmd:MD_Format>
-<gmd:name>
-<gco:CharacterString>GeoTIFF</gco:CharacterString>
-</gmd:name>
-<gmd:version>
-<gco:CharacterString>1.0</gco:CharacterString>
-</gmd:version>
-</gmd:MD_Format>
-</gmd:distributionFormat>
-<gmd:distributor>
-<gmd:MD_Distributor>
-<gmd:distributorContact>
-<gmd:CI_ResponsibleParty>
-<gmd:organisationName>
-<gco:CharacterString>Centre for Ecology & Hydrology</gco:CharacterString>
-</gmd:organisationName>
-<gmd:contactInfo>
-<gmd:CI_Contact>
-<gmd:address>
-<gmd:CI_Address>
-<gmd:deliveryPoint>
-<gco:CharacterString>Maclean Building, Benson Lane, Crowmarsh Gifford</gco:CharacterString>
-</gmd:deliveryPoint>
-<gmd:city>
-<gco:CharacterString>Wallingford</gco:CharacterString>
-</gmd:city>
-<gmd:administrativeArea>
-<gco:CharacterString>Oxfordshire </gco:CharacterString>
-</gmd:administrativeArea>
-<gmd:postalCode>
-<gco:CharacterString>OX10 8BB</gco:CharacterString>
-</gmd:postalCode>
-<gmd:country>
-<gco:CharacterString>United Kingdom</gco:CharacterString>
-</gmd:country>
-<gmd:electronicMailAddress>
-<gco:CharacterString>enquiries at ceh.ac.uk</gco:CharacterString>
-</gmd:electronicMailAddress>
-</gmd:CI_Address>
-</gmd:address>
-</gmd:CI_Contact>
-</gmd:contactInfo>
-<gmd:role>
-<gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_RoleCode" codeListValue="distributor">distributor</gmd:CI_RoleCode>
-</gmd:role>
-</gmd:CI_ResponsibleParty>
-</gmd:distributorContact>
-</gmd:MD_Distributor>
-</gmd:distributor>
-<gmd:transferOptions>
-<gmd:MD_DigitalTransferOptions>
-<gmd:onLine>
-<gmd:CI_OnlineResource>
-<gmd:linkage>
-<gmd:URL>http://www.ceh.ac.uk/LandCoverMap2007.html</gmd:URL>
-</gmd:linkage>
-<gmd:name>
-<gco:CharacterString>Essential technical details</gco:CharacterString>
-</gmd:name>
-<gmd:description>
-<gco:CharacterString>Link to further technical details about this data</gco:CharacterString>
-</gmd:description>
-<gmd:function>
-<CI_OnLineFunctionCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information"/>
-</gmd:function>
-</gmd:CI_OnlineResource>
-</gmd:onLine>
-</gmd:MD_DigitalTransferOptions>
-</gmd:transferOptions>
-<gmd:transferOptions>
-<gmd:MD_DigitalTransferOptions>
-<gmd:onLine>
-<gmd:CI_OnlineResource>
-<gmd:linkage>
-<gmd:URL>http://www.countrysidesurvey.org.uk/</gmd:URL>
-</gmd:linkage>
-<gmd:name>
-<gco:CharacterString>Countryside Survey website</gco:CharacterString>
-</gmd:name>
-<gmd:description>
-<gco:CharacterString>Countryside Survey website</gco:CharacterString>
-</gmd:description>
-<gmd:function>
-<CI_OnLineFunctionCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information"/>
-</gmd:function>
-</gmd:CI_OnlineResource>
-</gmd:onLine>
-</gmd:MD_DigitalTransferOptions>
-</gmd:transferOptions>
-<gmd:transferOptions>
-<gmd:MD_DigitalTransferOptions>
-<gmd:onLine>
-<gmd:CI_OnlineResource>
-<gmd:linkage>
-<gmd:URL>http://cs2007.ceh.ac.uk/sites/default/files/LCM2007%20Final%20Report%20-%20vCS%20Web.pdf</gmd:URL>
-</gmd:linkage>
-<gmd:name>
-<gco:CharacterString>CS Technical Report</gco:CharacterString>
-</gmd:name>
-<gmd:description>
-<gco:CharacterString>Final Report for LCM2007 - the new UK Land Cover Map</gco:CharacterString>
-</gmd:description>
-<gmd:function>
-<CI_OnLineFunctionCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information"/>
-</gmd:function>
-</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>
-<MD_ScopeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_ScopeCode" codeListValue="series"/>
-</gmd:level>
-<gmd:levelDescription>
-<gmd:MD_ScopeDescription>
-<gmd:other>
-<gco:CharacterString>series</gco:CharacterString>
-</gmd:other>
-</gmd:MD_ScopeDescription>
-</gmd:levelDescription>
-</gmd:DQ_Scope>
-</gmd:scope>
-<gmd:lineage>
-<gmd:LI_Lineage>
-<gmd:statement>
-<gco:CharacterString>LCM2007 uses a spatial framework based on OS MasterMap (R). MasterMap was generalised to remove unnecessary detail, then the framework was segmented according to the underlying satellite data to split areas of non-uniform landscape. The data was classified according to a parcel-based supervised maximum likelihood classification procedure. The raster products are derived from the vector products. </gco:CharacterString>
-</gmd:statement>
-</gmd:LI_Lineage>
-</gmd:lineage>
-</gmd:DQ_DataQuality>
-</gmd:dataQualityInfo>
-</gmd:MD_Metadata>
\ No newline at end of file



More information about the grass-commit mailing list