Project

General

Profile

« Previous | Next » 

Revision 10419

inputs/CTFS/: 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>$Plot</authorlocationcode>
11
                        <area_m2><_ha_to_m2><value>$PlotSize</value></_ha_to_m2></area_m2>
12
                        <elevation_m>$Elevation </elevation_m>
10
                        <authorlocationcode>$locationName</authorlocationcode>
11
                        <area_m2><_ha_to_m2><value>$plotArea_ha</value></_ha_to_m2></area_m2>
12
                        <elevation_m>$elevationInMeters</elevation_m>
13 13
                        <locationevent>
14
                            <authoreventcode>$CensusName</authoreventcode>
15
                            <obsenddate>$EndDate</obsenddate>
16
                            <obsstartdate>$StartDate</obsstartdate>
14
                            <authoreventcode>$authorEventCode</authoreventcode>
15
                            <obsenddate>$endDate</obsenddate>
16
                            <obsstartdate>$startDate</obsstartdate>
17 17
                            <taxonoccurrence>
18 18
                                <aggregateoccurrence>
19
                                    <count>$Abund</count>
19
                                    <count>$individualCount</count>
20 20
                                    <plantobservation>
21
                                        <specimenreplicate><sourceaccessioncode>$DWstagingID</sourceaccessioncode></specimenreplicate>
21
                                        <specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate>
22 22
                                        <stemobservation><diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m></stemobservation>
23 23
                                    </plantobservation>
24 24
                                </aggregateoccurrence>
25
                                <growthform>$VegCategory</growthform>
26
                                <sourceaccessioncode>$DWstagingID</sourceaccessioncode>
25
                                <growthform>$growthForm</growthform>
26
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
27 27
                                <taxondetermination>
28 28
                                    <taxonverbatim_id>
29 29
                                        <taxonverbatim>
......
47 47
                                                                                            <parent_id>
48 48
                                                                                                <taxonlabel>
49 49
                                                                                                    <rank>species</rank>
50
                                                                                                    <taxonepithet>$speciesname</taxonepithet>
50
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
51 51
                                                                                                    <parent_id>
52 52
                                                                                                        <taxonlabel>
53 53
                                                                                                            <rank>genus</rank>
54
                                                                                                            <taxonepithet>$Genus </taxonepithet>
54
                                                                                                            <taxonepithet>$genus</taxonepithet>
55 55
                                                                                                        </taxonlabel>
56 56
                                                                                                    </parent_id>
57 57
                                                                                                </taxonlabel>
......
68 68
                                                    </parent_id>
69 69
                                                    <taxonomicname>
70 70
                                                        <_join_words>
71
                                                            <2><_filter_genus><value>$Genus </value></_filter_genus></2>
72
                                                            <3>$speciesname</3>
71
                                                            <2><_filter_genus><value>$genus</value></_filter_genus></2>
72
                                                            <3>$specificEpithet</3>
73 73
                                                            <4>$subspecies</4>
74 74
                                                        </_join_words>
75 75
                                                    </taxonomicname>
76 76
                                                </taxonlabel>
77 77
                                            </taxonlabel_id>
78
                                            <genus>$Genus </genus>
79
                                            <specific_epithet>$speciesname</specific_epithet>
78
                                            <genus>$genus</genus>
79
                                            <specific_epithet>$specificEpithet</specific_epithet>
80 80
                                        </taxonverbatim>
81 81
                                    </taxonverbatim_id>
82 82
                                </taxondetermination>
......
87 87
                                <place>
88 88
                                    <coordinates_id>
89 89
                                        <coordinates>
90
                                            <footprintgeometry_dwc>$PlotShape</footprintgeometry_dwc>
90
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
91 91
                                            <latitude_deg>
92 92
                                                <_nullIf>
93 93
                                                    <null>0</null>
94 94
                                                    <type>float</type>
95
                                                    <value>$Latitude </value>
95
                                                    <value>$decimalLatitude</value>
96 96
                                                </_nullIf>
97 97
                                            </latitude_deg>
98 98
                                            <longitude_deg>
99 99
                                                <_nullIf>
100 100
                                                    <null>0</null>
101 101
                                                    <type>float</type>
102
                                                    <value>$Longitude </value>
102
                                                    <value>$decimalLongitude</value>
103 103
                                                </_nullIf>
104 104
                                            </longitude_deg>
105 105
                                        </coordinates>
106 106
                                    </coordinates_id>
107
                                    <country>$Country</country>
107
                                    <country>$country</country>
108 108
                                    <matched_place_id>
109 109
                                        <place>
110 110
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
......
115 115
                                                        <_nullIf>
116 116
                                                            <null>0</null>
117 117
                                                            <type>float</type>
118
                                                            <value>$Latitude </value>
118
                                                            <value>$decimalLatitude</value>
119 119
                                                        </_nullIf>
120 120
                                                    </latitude_deg>
121 121
                                                    <longitude_deg>
122 122
                                                        <_nullIf>
123 123
                                                            <null>0</null>
124 124
                                                            <type>float</type>
125
                                                            <value>$Longitude </value>
125
                                                            <value>$decimalLongitude</value>
126 126
                                                        </_nullIf>
127 127
                                                    </longitude_deg>
128 128
                                                </coordinates>
129 129
                                            </coordinates_id>
130
                                            <country>$Country</country>
131
                                            <stateprovince>$Province</stateprovince>
130
                                            <country>$country</country>
131
                                            <stateprovince>$stateProvince</stateprovince>
132 132
                                        </place>
133 133
                                    </matched_place_id>
134
                                    <stateprovince>$Province</stateprovince>
134
                                    <stateprovince>$stateProvince</stateprovince>
135 135
                                </place>
136 136
                            </place_id>
137 137
                        </locationplace>

Also available in: Unified diff