Project

General

Profile

« Previous | Next » 

Revision 6562

Added inputs/NVS/Coordinates/

View differences:

inputs/NVS/Coordinates/map.csv
1
NVS,VegCore,Filter,Comments
2
Plot Obs ID,*Plot Obs ID,,
3
Project Abbreviation,projectName,,
4
Plot,locationName,,
5
Method,*Method,,
6
Type,*Type,,
7
XEast Long,verbatimCoordinates,"/_join/2/_label[label=""x""]/value",
8
XPrecision,*XPrecision,,
9
YNorth Lat,verbatimCoordinates,"/_join/3/_label[label=""y""]/value",
10
Precision,coordinateUncertaintyInMeters,,Units is always m
11
Units,*Units,,
12
Datum,verbatimCoordinates,/_join/1,
13
Map Projection,*Map Projection,,
14
Map Series,*Map Series,,
15
Map Sheet,*Map Sheet,,
16
GPS,*GPS,,
17
GPSFix,*GPSFix,,
18
GPSPosition,*GPSPosition,,
inputs/NVS/Coordinates/VegBIEN.csv
1
NVS,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
Plot,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
3
Plot,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
4
Project Abbreviation,/location/locationevent/*_id/project/projectname,
5
Plot,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",
6
Plot,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
7
Precision,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value,Units is always m
8
Datum,/location/locationplace/*_id/place/*_id/coordinates/verbatimcoordinates/_join/1,
9
XEast Long,"/location/locationplace/*_id/place/*_id/coordinates/verbatimcoordinates/_join/2/_label[label=""x""]/value",
10
YNorth Lat,"/location/locationplace/*_id/place/*_id/coordinates/verbatimcoordinates/_join/3/_label[label=""y""]/value",
11
Plot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
12
GPS,,** No join mapping for *GPS ** 
13
GPSFix,,** No join mapping for *GPSFix ** 
14
GPSPosition,,** No join mapping for *GPSPosition ** 
15
Map Projection,,** No join mapping for *Map Projection ** 
16
Map Series,,** No join mapping for *Map Series ** 
17
Map Sheet,,** No join mapping for *Map Sheet ** 
18
Method,,** No join mapping for *Method ** 
19
Plot Obs ID,,** No join mapping for *Plot Obs ID ** 
20
Type,,** No join mapping for *Type ** 
21
Units,,** No join mapping for *Units ** 
22
XPrecision,,** No join mapping for *XPrecision ** 
inputs/NVS/Coordinates/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NVS</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$Plot</authorlocationcode>
11
                        <locationevent><project_id><project><projectname>$Project Abbreviation</projectname></project></project_id></locationevent>
12
                        <locationplace>
13
                            <place_id>
14
                                <place>
15
                                    <coordinates_id>
16
                                        <coordinates>
17
                                            <coordsaccuracy_m><_noCV><value>$Precision</value></_noCV></coordsaccuracy_m>
18
                                            <verbatimcoordinates>
19
                                                <_join>
20
                                                    <1>$Datum</1>
21
                                                    <2>
22
                                                        <_label>
23
                                                            <label>x</label>
24
                                                            <value>$XEast Long</value>
25
                                                        </_label>
26
                                                    </2>
27
                                                    <3>
28
                                                        <_label>
29
                                                            <label>y</label>
30
                                                            <value>$YNorth Lat</value>
31
                                                        </_label>
32
                                                    </3>
33
                                                </_join>
34
                                            </verbatimcoordinates>
35
                                        </coordinates>
36
                                    </coordinates_id>
37
                                </place>
38
                            </place_id>
39
                        </locationplace>
40
                    </location>
41
                </path>
42
            </_simplifyPath>
43
        </path>
44
    </_setDefault>
45
</VegBIEN>
46
Inserted 6 new rows into database
inputs/NVS/Coordinates/new_terms.csv
1
Project Abbreviation,projectName,,
2
Plot,locationName,,
3
XEast Long,verbatimCoordinates,"/_join/2/_label[label=""x""]/value",
4
YNorth Lat,verbatimCoordinates,"/_join/3/_label[label=""y""]/value",
5
Precision,coordinateUncertaintyInMeters,,Units is always m
6
Datum,verbatimCoordinates,/_join/1,
inputs/NVS/Coordinates/unmapped_terms.csv
1
*Plot Obs ID
2
*Method
3
*Type
4
*XPrecision
5
*Units
6
*Map Projection
7
*Map Series
8
*Map Sheet
9
*GPS
10
*GPSFix
11
*GPSPosition

Also available in: Unified diff