Project

General

Profile

« Previous | Next » 

Revision 10559

inputs/bien_web/: switched to new-style import, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource

View differences:

test.xml.ref
7 7
                <next>parent_id</next>
8 8
                <path>
9 9
                    <location>
10
                        <authorlocationcode>$plotCode</authorlocationcode>
11
                        <sourceaccessioncode>$plotID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$plotAreaHa</value></_ha_to_m2></area_m2>
13
                        <elevation_m>$elevation_m</elevation_m>
10
                        <authorlocationcode>$locationName</authorlocationcode>
11
                        <sourceaccessioncode>$locationID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$plotArea_ha</value></_ha_to_m2></area_m2>
13
                        <elevation_m>$elevationInMeters</elevation_m>
14 14
                        <locationevent>
15
                            <method_id><method><name>$plotMethod</name></method></method_id>
15
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
16 16
                            <taxonoccurrence>
17 17
                                <aggregateoccurrence>
18
                                    <collectiondate>$observationDate</collectiondate>
19
                                    <cover_fraction><_percent_to_fraction><value>$pctCover</value></_percent_to_fraction></cover_fraction>
18
                                    <collectiondate>$dateCollected</collectiondate>
19
                                    <cover_fraction><_percent_to_fraction><value>$coverPercent</value></_percent_to_fraction></cover_fraction>
20 20
                                    <plantobservation>
21
                                        <authorplantcode>$collectionNumber</authorplantcode>
21
                                        <authorplantcode>$collectorNumber</authorplantcode>
22 22
                                        <specimenreplicate>
23
                                            <collectionnumber>$collectionNumber</collectionnumber>
23
                                            <collectionnumber>$collectorNumber</collectionnumber>
24 24
                                            <institution_id>
25 25
                                                <sourcelist>
26
                                                    <name>$dataSourceName</name>
26
                                                    <name>$specimenHolderInstitutions</name>
27 27
                                                    <sourcename>
28 28
                                                        <name>
29 29
                                                            <_split>
30 30
                                                                <separator>[,;] *</separator>
31
                                                                <value>$dataSourceName</value>
31
                                                                <value>$specimenHolderInstitutions</value>
32 32
                                                            </_split>
33 33
                                                        </name>
34 34
                                                    </sourcename>
35 35
                                                </sourcelist>
36 36
                                            </institution_id>
37
                                            <sourceaccessioncode>$observationID</sourceaccessioncode>
37
                                            <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
38 38
                                        </specimenreplicate>
39 39
                                    </plantobservation>
40 40
                                </aggregateoccurrence>
41
                                <authortaxoncode>$collectionNumber</authortaxoncode>
42
                                <collector_id><party><fullname>$collector</fullname></party></collector_id>
43
                                <iscultivated>$isCultivated</iscultivated>
44
                                <sourceaccessioncode>$observationID</sourceaccessioncode>
41
                                <authortaxoncode>$collectorNumber</authortaxoncode>
42
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
43
                                <iscultivated>$cultivated</iscultivated>
44
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
45 45
                                <taxondetermination>
46 46
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
47 47
                                    <taxonverbatim_id>
......
65 65
                                                                                            <parent_id>
66 66
                                                                                                <taxonlabel>
67 67
                                                                                                    <rank>species</rank>
68
                                                                                                    <taxonepithet>$species</taxonepithet>
68
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
69 69
                                                                                                    <parent_id>
70 70
                                                                                                        <taxonlabel>
71 71
                                                                                                            <rank>genus</rank>
......
95 95
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
96 96
                                                            <value>
97 97
                                                                <_alt>
98
                                                                    <1>$taxon</1>
98
                                                                    <1>$scientificName</1>
99 99
                                                                    <2>
100 100
                                                                        <_join_words>
101 101
                                                                            <1>
102 102
                                                                                <_join_words>
103 103
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
104
                                                                                    <3>$species</3>
104
                                                                                    <3>$specificEpithet</3>
105 105
                                                                                </_join_words>
106 106
                                                                            </1>
107
                                                                            <2>$taxonAuthor</2>
107
                                                                            <2>$scientificNameAuthorship</2>
108 108
                                                                        </_join_words>
109 109
                                                                    </2>
110 110
                                                                </_alt>
......
113 113
                                                    </taxonomicname>
114 114
                                                </taxonlabel>
115 115
                                            </taxonlabel_id>
116
                                            <author>$taxonAuthor</author>
116
                                            <author>$scientificNameAuthorship</author>
117 117
                                            <family>$family</family>
118 118
                                            <genus>$genus</genus>
119
                                            <specific_epithet>$species</specific_epithet>
120
                                            <taxonomicname>$taxon</taxonomicname>
119
                                            <specific_epithet>$specificEpithet</specific_epithet>
120
                                            <taxonomicname>$scientificName</taxonomicname>
121 121
                                        </taxonverbatim>
122 122
                                    </taxonverbatim_id>
123 123
                                </taxondetermination>
124 124
                                <trait>
125
                                    <name>$traitName</name>
126
                                    <value>$traitValue</value>
125
                                    <name>$measurementName</name>
126
                                    <value>$measurementValue</value>
127 127
                                </trait>
128 128
                            </taxonoccurrence>
129 129
                        </locationevent>
......
136 136
                                                <_nullIf>
137 137
                                                    <null>0</null>
138 138
                                                    <type>float</type>
139
                                                    <value>$latitude</value>
139
                                                    <value>$decimalLatitude</value>
140 140
                                                </_nullIf>
141 141
                                            </latitude_deg>
142 142
                                            <longitude_deg>
143 143
                                                <_nullIf>
144 144
                                                    <null>0</null>
145 145
                                                    <type>float</type>
146
                                                    <value>$longitude</value>
146
                                                    <value>$decimalLongitude</value>
147 147
                                                </_nullIf>
148 148
                                            </longitude_deg>
149 149
                                        </coordinates>
150 150
                                    </coordinates_id>
151 151
                                    <country>$country</country>
152
                                    <county>$countyParish</county>
152
                                    <county>$county</county>
153 153
                                    <matched_place_id>
154 154
                                        <place>
155 155
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
......
160 160
                                                        <_nullIf>
161 161
                                                            <null>0</null>
162 162
                                                            <type>float</type>
163
                                                            <value>$latitude</value>
163
                                                            <value>$decimalLatitude</value>
164 164
                                                        </_nullIf>
165 165
                                                    </latitude_deg>
166 166
                                                    <longitude_deg>
167 167
                                                        <_nullIf>
168 168
                                                            <null>0</null>
169 169
                                                            <type>float</type>
170
                                                            <value>$longitude</value>
170
                                                            <value>$decimalLongitude</value>
171 171
                                                        </_nullIf>
172 172
                                                    </longitude_deg>
173 173
                                                </coordinates>
174 174
                                            </coordinates_id>
175 175
                                            <country>$country</country>
176
                                            <county>$countyParish</county>
176
                                            <county>$county</county>
177 177
                                            <geovalid>
178 178
                                                <_alt>
179 179
                                                    <2>false</2>
180
                                                    <1>$isGeovalid</1>
180
                                                    <1>$geovalid</1>
181 181
                                                </_alt>
182 182
                                            </geovalid>
183 183
                                            <stateprovince>$stateProvince</stateprovince>

Also available in: Unified diff