1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_join>
|
9
|
<1>$InstitutionCD</1>
|
10
|
<2>$CollectionCD</2>
|
11
|
<3>$CatalogNO</3>
|
12
|
</_join>
|
13
|
</authorlocationcode>
|
14
|
<elevation_m>
|
15
|
<_avg>
|
16
|
<max>$MaximumElevationInMeter</max>
|
17
|
<min>$MinimumElevationInMeter</min>
|
18
|
</_avg>
|
19
|
</elevation_m>
|
20
|
<locationcoords>
|
21
|
<latitude_deg>
|
22
|
<_nullIf>
|
23
|
<null>0</null>
|
24
|
<type>float</type>
|
25
|
<value>$VerbatimLatitude</value>
|
26
|
</_nullIf>
|
27
|
</latitude_deg>
|
28
|
<longitude_deg>
|
29
|
<_nullIf>
|
30
|
<null>0</null>
|
31
|
<type>float</type>
|
32
|
<value>$VerbatimLongitude</value>
|
33
|
</_nullIf>
|
34
|
</longitude_deg>
|
35
|
</locationcoords>
|
36
|
<locationevent>
|
37
|
<taxonoccurrence>
|
38
|
<aggregateoccurrence>
|
39
|
<collectiondate><_date><date>$LatestDateCollected</date></_date></collectiondate>
|
40
|
<plantobservation>
|
41
|
<specimenreplicate>
|
42
|
<catalognumber_dwc>$CatalogNO</catalognumber_dwc>
|
43
|
<collectioncode_dwc>$CollectionCD</collectioncode_dwc>
|
44
|
<institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
|
45
|
</specimenreplicate>
|
46
|
</plantobservation>
|
47
|
</aggregateoccurrence>
|
48
|
<authortaxoncode>$ScientificNameOriginal</authortaxoncode>
|
49
|
<taxondetermination>
|
50
|
<party_id>
|
51
|
<party>
|
52
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
53
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
54
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
55
|
</party>
|
56
|
</party_id>
|
57
|
<taxonpath_id>
|
58
|
<taxonpath>
|
59
|
<family>$Family</family>
|
60
|
<genus>$Genus</genus>
|
61
|
<scientificname>$ScientificName</scientificname>
|
62
|
<scientificnameauthor>$AuthorOfScientificName</scientificnameauthor>
|
63
|
<species>$SpecificEpithet</species>
|
64
|
<subspecies>$InfraspecificEpithet</subspecies>
|
65
|
</taxonpath>
|
66
|
</taxonpath_id>
|
67
|
</taxondetermination>
|
68
|
<taxondetermination>
|
69
|
<isoriginal>true</isoriginal>
|
70
|
<taxonpath_id>
|
71
|
<taxonpath>
|
72
|
<family>$GBIFFamilyOriginal</family>
|
73
|
<genus>$GBIFGenusOriginal</genus>
|
74
|
<scientificname>$ScientificNameOriginal</scientificname>
|
75
|
</taxonpath>
|
76
|
</taxonpath_id>
|
77
|
</taxondetermination>
|
78
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
79
|
</taxonoccurrence>
|
80
|
</locationevent>
|
81
|
<locationnarrative>$Locality</locationnarrative>
|
82
|
<locationplace>
|
83
|
<placepath_id>
|
84
|
<placepath>
|
85
|
<country>$Country</country>
|
86
|
<county>$County</county>
|
87
|
<stateprovince>$StateProvince</stateprovince>
|
88
|
</placepath>
|
89
|
</placepath_id>
|
90
|
</locationplace>
|
91
|
</location>
|
92
|
</path>
|
93
|
</_simplifyPath>
|
94
|
</VegBIEN>
|
95
|
Inserted 29 new rows into database
|