1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>$authorObsCode</authorlocationcode>
|
5
|
<locationdetermination>
|
6
|
<coordsaccuracy><_noCV><value>$locationAccuracy-m</value></_noCV></coordsaccuracy>
|
7
|
<latitude>
|
8
|
<_nullIf>
|
9
|
<null>0</null>
|
10
|
<type>float</type>
|
11
|
<value>$publicLatitude</value>
|
12
|
</_nullIf>
|
13
|
</latitude>
|
14
|
<longitude>
|
15
|
<_nullIf>
|
16
|
<null>0</null>
|
17
|
<type>float</type>
|
18
|
<value>$publicLongitude</value>
|
19
|
</_nullIf>
|
20
|
</longitude>
|
21
|
<namedplace_id>
|
22
|
<_simplifyPath>
|
23
|
<next>parent_id/namedplace</next>
|
24
|
<require>placename</require>
|
25
|
<path>
|
26
|
<namedplace>
|
27
|
<rank>county</rank>
|
28
|
<placename>$county</placename>
|
29
|
<parent_id>
|
30
|
<namedplace>
|
31
|
<rank>stateProvince</rank>
|
32
|
<placename>$state</placename>
|
33
|
</namedplace>
|
34
|
</parent_id>
|
35
|
</namedplace>
|
36
|
</path>
|
37
|
</_simplifyPath>
|
38
|
</namedplace_id>
|
39
|
</locationdetermination>
|
40
|
<locationevent>
|
41
|
<authoreventcode>$authorObsCode</authoreventcode>
|
42
|
<obsstartdate><_date><date>$obsStartDate</date></_date></obsstartdate>
|
43
|
<taxonoccurrence>
|
44
|
<aggregateoccurrence><cover>$%cover</cover></aggregateoccurrence>
|
45
|
<authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode>
|
46
|
<taxondetermination>
|
47
|
<plantconcept_id>
|
48
|
<plantconcept>
|
49
|
<plantname_id>
|
50
|
<_simplifyPath>
|
51
|
<next>parent_id</next>
|
52
|
<path>
|
53
|
<plantname>
|
54
|
<rank>binomial</rank>
|
55
|
<plantname>$currentTaxonName sec Weakley 2006</plantname>
|
56
|
</plantname>
|
57
|
</path>
|
58
|
</_simplifyPath>
|
59
|
</plantname_id>
|
60
|
</plantconcept>
|
61
|
</plantconcept_id>
|
62
|
</taxondetermination>
|
63
|
</taxonoccurrence>
|
64
|
</locationevent>
|
65
|
</location>
|
66
|
</VegBIEN>
|
67
|
Inserted 16 new rows into database
|