added last version of DwC-A meta format
authorn.hoffmann <n.hoffmann@localhost>
Wed, 14 Sep 2011 09:46:45 +0000 (09:46 +0000)
committern.hoffmann <n.hoffmann@localhost>
Wed, 14 Sep 2011 09:46:45 +0000 (09:46 +0000)
.gitattributes
cdmlib-col/format/meta.tpl.txt [new file with mode: 0644]
cdmlib-col/format/meta.xml [deleted file]

index 98797e43f47c9196ee348284da7f1aca75d5aebe..2c40ddf6b8c730107704c79193513266c906c1dc 100644 (file)
@@ -1197,7 +1197,7 @@ app-import/src/main/resources/taxonX/palm_tc_98882.xml -text
 app-import/src/main/resources/taxonX/palm_tc_98886.xml -text
 app-import/src/main/resources/tcs/Cichorium_tcs.xml -text
 app-import/src/main/resources/tcs/tcsXmlTest.xml -text
-cdmlib-col/format/meta.xml -text
+cdmlib-col/format/meta.tpl.txt -text
 cdmlib-eflora/LICENSE.TXT -text
 cdmlib-eflora/README.TXT -text
 cdmlib-eflora/pom.xml -text
diff --git a/cdmlib-col/format/meta.tpl.txt b/cdmlib-col/format/meta.tpl.txt
new file mode 100644 (file)
index 0000000..d5c2607
--- /dev/null
@@ -0,0 +1,126 @@
+<archive xmlns='http://rs.tdwg.org/dwc/text/'
+    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+    xsi:schemaLocation='http://rs.tdwg.org/dwc/text/ http://rs.tdwg.org/dwc/text/tdwg_dwc_text.xsd'>
+   
+    <core encoding='UTF-8' fieldsEnclosedBy='[sep]' fieldsTerminatedBy='[del]' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.tdwg.org/dwc/terms/Taxon'>    
+    <files>
+        <location>taxa.txt</location>
+    </files>
+    <id index='0' />
+    <!-- CoL taxon id -->
+    <field index="0" term="http://rs.tdwg.org/dwc/terms/taxonID"/>
+    <!-- LSID -->
+    <field index="1" term="http://purl.org/dc/terms/identifier"/>
+    <!-- CoL source database id -->
+    <field index="2" term="http://rs.tdwg.org/dwc/terms/datasetID"/>
+    <!-- Short name of source database plus CoL credits -->
+    <field index="3" term="http://rs.tdwg.org/dwc/terms/datasetName"/>
+    <!-- CoL taxon id of accepted taxon (relevant for synonyms only) -->
+    <field index='4' term='http://rs.tdwg.org/dwc/terms/acceptedNameUsageID'/>
+    <!-- CoL taxon id of parent taxon (relevant for valid taxa only) -->
+    <field index='5' term='http://rs.tdwg.org/dwc/terms/parentNameUsageID'/>
+    <!-- Species 2000 status -->
+    <field index='6' term='http://rs.tdwg.org/dwc/terms/taxonomicStatus'/> 
+    <!-- Taxonomic rank -->
+    <field index='7' term='http://rs.tdwg.org/dwc/terms/taxonRank'/>
+    <!-- Infraspecific marker if displayed in complete scientific name -->
+    <field index='8' term='http://rs.tdwg.org/dwc/terms/verbatimTaxonRank'/>
+    <!-- Complete scientific name, including subspecific marker where appropriate -->
+    <field index='9' term='http://rs.tdwg.org/dwc/terms/scientificName'/>
+    <!-- Top level group; listed as kingdom but may be interpreted as domain or superkingdom
+         The following eight groups are recognized: Animalia, Archaea, Bacteria, Chromista, 
+         Fungi, Plantae, Protozoa, Viruses -->
+    <field index='10' term='http://rs.tdwg.org/dwc/terms/kingdom'/>
+    <!-- Phylum in which the taxon has been classified -->
+    <field index='11' term='http://rs.tdwg.org/dwc/terms/phylum'/>
+    <!-- Class in which the taxon has been classified -->
+    <field index='12' term='http://rs.tdwg.org/dwc/terms/class'/>
+    <!-- Order in which the taxon has been classified -->
+    <field index='13' term='http://rs.tdwg.org/dwc/terms/order'/>
+    <!-- Family in which the taxon has been classified -->
+    <field index='14' term='http://rs.tdwg.org/dwc/terms/family'/>
+    <!-- Genus in which the taxon has been classified -->
+    <field index='15' term='http://rs.tdwg.org/dwc/terms/genus'/>
+    <!-- Subgenus in which the taxon has been classified -->
+    <field index='16' term='http://rs.tdwg.org/dwc/terms/subgenus'/>
+    <!-- Specific epithet; for hybrids, the multiplication symbol is included in the epithet -->
+    <field index='17' term='http://rs.tdwg.org/dwc/terms/specificEpithet'/>
+    <!-- Infraspecific epithet -->
+    <field index='18' term='http://rs.tdwg.org/dwc/terms/infraspecificEpithet'/>
+    <!-- Authorship -->
+    <field index='19' term='http://rs.tdwg.org/dwc/terms/scientificNameAuthorship'/>
+    <!-- Acceptance status published in -->
+    <field index='20' term='http://purl.org/dc/terms/source'/>
+    <!-- Reference in which the scientific name was first published -->
+    <field index='21' term='http://rs.tdwg.org/dwc/terms/namePublishedIn'/>
+    <!-- Taxon scrutinized by -->
+    <field index='22' term='http://rs.tdwg.org/dwc/terms/nameAccordingTo'/> 
+    <!-- Scrutiny date -->
+    <field index='23' term='http://purl.org/dc/terms/modified'/>
+    <!-- Additional data for the taxon -->
+    <field index='24' term='http://purl.org/dc/terms/description'/>
+    </core>
+    
+    <extension encoding='UTF-8' fieldsEnclosedBy='[sep]' fieldsTerminatedBy='[del]' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/Distribution'>
+        <files>
+            <location>distribution.txt</location>
+        </files>
+        <coreid index='0' />
+        <!-- Original id prefixed with the standard, e.g. tdwg:AGE-BA; eez:polish; fao:18, iso3166-1-alpha-2:SN
+             Is left empty in case distribution is taken from free text string -->
+        <field index='1' term='http://rs.tdwg.org/dwc/terms/locationID'/>
+        <!-- Locality as verbatim string -->
+        <field index='2' term='http://rs.tdwg.org/dwc/terms/locality'/>
+        <!-- Distribution status (currently not yet implemented, reserved for future edition) -->
+        <field index='3' term='http://rs.tdwg.org/dwc/terms/occurrenceStatus'/>
+        <!-- The process by which the taxon became established (currently not yet implemented, reserved for future edition) -->
+        <field index='4' term='http://rs.tdwg.org/dwc/terms/establishmentMeans'/>
+    </extension>
+    
+    <extension encoding='UTF-8' fieldsEnclosedBy='[sep]' fieldsTerminatedBy='[del]' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/Reference'>
+        <files>
+            <location>references.txt</location>
+        </files>
+        <coreid index='0' />
+        <!-- Author(s) -->
+        <field index='1' term='http://purl.org/dc/terms/creator'/>
+        <!-- Year -->
+        <field index='2' term='http://purl.org/dc/terms/date'/>
+        <!-- Title -->
+        <field index='4' term='http://purl.org/dc/terms/title'/>
+        <!-- Published in -->
+        <field index='3' term='http://purl.org/dc/terms/description'/>
+        <!-- Uri -->
+        <field index='5' term='http://purl.org/dc/terms/identifier'/>
+        <!-- Type of reference; pertaining to taxon, synonym or vernacular name -->
+        <field index='5' term='http://purl.org/dc/terms/type'/>
+    </extension>
+  
+    <extension encoding='UTF-8' fieldsEnclosedBy='[sep]' fieldsTerminatedBy='[del]' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/SpeciesProfile'>
+         <files>
+            <location>speciesprofile.txt</location>
+         </files>
+         <coreid index='0' />
+         <!-- Life zone (currently not yet implemented, reserved for future edition) 
+              These comprise: marine, terrestrial, brackish, freshwater, unknown -->
+         <field index='1' term='http://rs.tdwg.org/dwc/terms/habitat' vocabulary='http://www.catalogueoflife.org/dwc/habitats-classification-scheme'/>
+    </extension>  
+    
+    <extension encoding='UTF-8' fieldsEnclosedBy='[sep]' fieldsTerminatedBy='[del]' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/VernacularName'>
+        <files>
+            <location>vernacular.txt</location>
+        </files>
+        <coreid index='0' />
+        <!-- Vernacular name -->
+        <field index='1' term='http://rs.tdwg.org/dwc/terms/vernacularName'/>
+        <!-- Language -->
+        <field index='2' term='http://purl.org/dc/terms/language'/>
+        <!-- Country in which the vernacular name is used -->
+        <field index='3' term='http://rs.tdwg.org/dwc/terms/countryCode'/>
+        <!-- Region in which the vernacular name is used -->
+        <field index='4' term='http://rs.tdwg.org/dwc/terms/locality'/>
+        <!-- Transliteration -->
+        <field index='5' term='http://www.catalogueoflife.org/dwc/terms/transliteration'/>
+    </extension>
+
+</archive>
diff --git a/cdmlib-col/format/meta.xml b/cdmlib-col/format/meta.xml
deleted file mode 100755 (executable)
index 1d2802f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<archive xmlns='http://rs.tdwg.org/dwc/text/'
-   xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
-   xsi:schemaLocation='http://rs.tdwg.org/dwc/text/ http://rs.tdwg.org/dwc/text/tdwg_dwc_text.xsd'>
-   
-  <core encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.tdwg.org/dwc/terms/Taxon'>    
-    <files>
-      <location>taxa.txt</location>
-    </files>
-    <id index='0' />
-    <field index="0" term="http://rs.tdwg.org/dwc/terms/taxonID"/>
-    <!-- identifier contains the LSID -->
-    <field index="1" term="http://purl.org/dc/terms/identifier"/>
-    <field index="2" term="http://rs.tdwg.org/dwc/terms/datasetID"/>
-    <field index="3" term="http://rs.tdwg.org/dwc/terms/datasetName"/>
-    <field index='4' term='http://rs.tdwg.org/dwc/terms/acceptedNameUsageID'/>
-    <field index='5' term='http://rs.tdwg.org/dwc/terms/parentNameUsageID'/>
-    <field index='6' term='http://rs.tdwg.org/dwc/terms/taxonomicStatus'/> 
-    <field index='7' term='http://rs.tdwg.org/dwc/terms/taxonRank'/>
-    <field index='8' term='http://rs.tdwg.org/dwc/terms/scientificName'/>
-    <field index='9' term='http://rs.tdwg.org/dwc/terms/kingdom'/>
-    <field index='10' term='http://rs.tdwg.org/dwc/terms/phylum'/>
-    <field index='11' term='http://rs.tdwg.org/dwc/terms/class'/>
-    <field index='12' term='http://rs.tdwg.org/dwc/terms/order'/>
-    <field index='13' term='http://rs.tdwg.org/dwc/terms/family'/>
-    <field index='14' term='http://rs.tdwg.org/dwc/terms/genus'/>
-    <field index='15' term='http://rs.tdwg.org/dwc/terms/subgenus'/>
-    <field index='16' term='http://rs.tdwg.org/dwc/terms/specificEpithet'/>
-    <field index='17' term='http://rs.tdwg.org/dwc/terms/infraspecificEpithet'/>
-    <field index='18' term='http://rs.tdwg.org/dwc/terms/scientificNameAuthorship'/>
-    <field index='19' term='http://rs.tdwg.org/dwc/terms/nameAccordingTo'/>    
-    <field index='20' term='http://purl.org/dc/terms/modified'/>
-    <field index='21' term='http://purl.org/dc/terms/rights'/>
-  </core>
-
-  <extension encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/Distribution'>
-    <files>
-      <location>distribution.txt</location>
-    </files>
-    <coreid index='0' />
-    <field index='1' term='http://rs.tdwg.org/dwc/terms/occurrenceStatus'/>
-    <field index='2' term='http://rs.tdwg.org/dwc/terms/locationID'/>
-    <field index='3' term='http://rs.tdwg.org/dwc/terms/locality'/>             
-    <field index='4' term='http://rs.tdwg.org/dwc/terms/establishmentMeans'/>
-    <field index='5' term='http://purl.org/dc/terms/rights'/>
-  </extension>
-  
-  <extension encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/Description'>
-    <files>
-      <location>description.txt</location>
-    </files>
-    <coreid index='0' />
-    <field index='1' term='http://purl.org/dc/terms/type'/>
-    <field index='2' term='http://purl.org/dc/terms/description'/>
-    <field index='3' term='http://purl.org/dc/terms/rights'/>
-  </extension>
-  
-  <extension encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/Reference'>
-    <files>
-      <location>references.txt</location>
-    </files>
-    <coreid index='0' />
-    <field index='1' term='http://purl.org/dc/terms/title'/>
-    <field index='2' term='http://purl.org/dc/terms/creator'/>
-    <field index='3' term='http://purl.org/dc/terms/date'/>
-    <field index='4' term='http://purl.org/dc/terms/description'/>
-    <field index='5' term='http://purl.org/dc/terms/identifier'/>
-    <field index='6' term='http://purl.org/dc/terms/rights'/>
-  </extension>
-  
-   <extension encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/SpeciesProfile'>
-     <files>
-       <location>speciesprofile.txt</location>
-     </files>
-     <coreid index='0' />
-     <field index='1' term='http://rs.tdwg.org/dwc/terms/habitat'/>
-     <field index='2' term='http://purl.org/dc/terms/rights'/>
-   </extension>  
-   
-   <extension encoding='UTF-8' fieldsEnclosedBy='' fieldsTerminatedBy='\t' linesTerminatedBy='\n' ignoreHeaderLines='1' rowType='http://rs.gbif.org/terms/1.0/VernacularName'>
-     <files>
-       <location>vernacular.txt</location>
-     </files>
-     <coreid index='0' />
-     <field index='1' term='http://rs.tdwg.org/dwc/terms/vernacularName'/>
-     <field index='2' term='http://purl.org/dc/terms/language'/>
-     <field index='3' term='http://rs.tdwg.org/dwc/terms/countryCode'/>
-     <field index='4' term='http://rs.tdwg.org/dwc/terms/locality'/>
-     <field index='5' term='http://purl.org/dc/terms/source'/>
-     <field index='6' term='http://purl.org/dc/terms/rights'/>
-   </extension>         
-
-</archive>