Project

General

Profile

« Previous | Next » 

Revision 3907

mappings/DwC2-VegBIEN.specimens.csv: Mapped specimenreplicate via plantobservation for consistency with plots data. (This change is required for VegCSV table merging to work properly.) This is also a more accurate way of representing the data, because a specimen in fact comes from a plant, and it's natural to place the plant-related data (measurements, etc.) in the plantobservation table.

View differences:

import.specimens.xml.ref
31 31
            </namedplace_id>
32 32
        </locationdetermination>
33 33
        <locationevent>
34
            <specimenreplicate>
35
                <collectioncode_dwc>$collectionCode</collectioncode_dwc>
36
                <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
37
                <growthform>
38
                    <_map>
39
                        <tree>*</tree>
40
                        <shrub>*</shrub>
41
                        <liana>*</liana>
42
                        <vine>*</vine>
43
                        <herb>*</herb>
44
                        <hemiepiphyte>*</hemiepiphyte>
45
                        <epiphyte>*</epiphyte>
46
                        <grass>*</grass>
47
                        <forb>*</forb>
48
                        <moss>*</moss>
49
                        <lichen>*</lichen>
50
                        <fungus>*</fungus>
51
                        <floating aquatic>*</floating aquatic>
52
                        <submerged aquatic>*</submerged aquatic>
53
                        <*></*>
54
                        <value>$establishmentMeans</value>
55
                    </_map>
56
                </growthform>
57
                <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
58
                <iscultivated>
59
                    <_map>
60
                        <cultivated>t</cultivated>
61
                        <wild>f</wild>
62
                        <*></*>
63
                        <value>$establishmentMeans</value>
64
                    </_map>
65
                </iscultivated>
66
                <isnative>
67
                    <_map>
68
                        <native>t</native>
69
                        <exotic>f</exotic>
70
                        <*></*>
71
                        <value>$establishmentMeans</value>
72
                    </_map>
73
                </isnative>
74
                <sourceaccessioncode>$id</sourceaccessioncode>
34
            <taxonoccurrence>
35
                <aggregateoccurrence>
36
                    <plantobservation>
37
                        <specimenreplicate>
38
                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
39
                            <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
40
                            <growthform>
41
                                <_map>
42
                                    <tree>*</tree>
43
                                    <shrub>*</shrub>
44
                                    <liana>*</liana>
45
                                    <vine>*</vine>
46
                                    <herb>*</herb>
47
                                    <hemiepiphyte>*</hemiepiphyte>
48
                                    <epiphyte>*</epiphyte>
49
                                    <grass>*</grass>
50
                                    <forb>*</forb>
51
                                    <moss>*</moss>
52
                                    <lichen>*</lichen>
53
                                    <fungus>*</fungus>
54
                                    <floating aquatic>*</floating aquatic>
55
                                    <submerged aquatic>*</submerged aquatic>
56
                                    <*></*>
57
                                    <value>$establishmentMeans</value>
58
                                </_map>
59
                            </growthform>
60
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
61
                            <iscultivated>
62
                                <_map>
63
                                    <cultivated>t</cultivated>
64
                                    <wild>f</wild>
65
                                    <*></*>
66
                                    <value>$establishmentMeans</value>
67
                                </_map>
68
                            </iscultivated>
69
                            <isnative>
70
                                <_map>
71
                                    <native>t</native>
72
                                    <exotic>f</exotic>
73
                                    <*></*>
74
                                    <value>$establishmentMeans</value>
75
                                </_map>
76
                            </isnative>
77
                            <sourceaccessioncode>$id</sourceaccessioncode>
78
                        </specimenreplicate>
79
                    </plantobservation>
80
                </aggregateoccurrence>
75 81
                <taxondetermination>
76 82
                    <isoriginal>true</isoriginal>
77 83
                    <iscurrent>true</iscurrent>
......
119 125
                        </plantconcept>
120 126
                    </plantconcept_id>
121 127
                </taxondetermination>
122
            </specimenreplicate>
128
            </taxonoccurrence>
123 129
        </locationevent>
124 130
        <locationnarrative><_merge><1>$locality</1></_merge></locationnarrative>
125 131
        <sourceaccessioncode>
......
135 141
        </sourceaccessioncode>
136 142
    </location>
137 143
</VegBIEN>
138
Inserted 16 new rows into database
144
Inserted 22 new rows into database

Also available in: Unified diff