Project

General

Profile

« Previous | Next » 

Revision 6487

Added inputs/NVS/

View differences:

inputs/NVS/Plot/map.csv
1
NVS,VegCore,Filter,Comments
2
Plot,*Plot,,
3
Sub Plot,subplot,,
4
Area,*Area_Ha,,
5
Area Units,*Area Units,,
6
Altitude,elevationInMeters,,
7
Altitude Units,*Altitude Units,,
8
Aspect,*Aspect,,
9
Slope,slopeAspect,,
10
Slope Shape,*Slope Shape,,
11
Parent Material,*Parent Material,,
12
Physiography,*Physiography,,
13
Placement,*Placement,,
14
Permanence,*Permanence,,
15
Plot ID,locationID,,
inputs/NVS/Plot/VegBIEN.csv
1
NVS,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
Sub Plot,"/location/_if[@name=""if subplot""]/cond/_exists",
3
Plot ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4
Plot ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
5
Plot ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
6
Sub Plot,/location/authorlocationcode,
7
Altitude,/location/elevation_m/_alt/1,
8
Sub Plot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
9
Sub Plot,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/cond/_first/2",
10
Sub Plot,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/cond/_first/2",
11
Plot ID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
12
Plot ID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
13
Slope,/location/slopeaspect_deg/_alt/1/_compass/value,
14
Sub Plot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
15
Plot ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
16
Sub Plot,/location/sourceaccessioncode/_join/2,
17
Altitude Units,,** No join mapping for *Altitude Units ** 
18
Area,,** No join mapping for *Area_Ha ** 
19
Area Units,,** No join mapping for *Area Units ** 
20
Aspect,,** No join mapping for *Aspect ** 
21
Parent Material,,** No join mapping for *Parent Material ** 
22
Permanence,,** No join mapping for *Permanence ** 
23
Physiography,,** No join mapping for *Physiography ** 
24
Placement,,** No join mapping for *Placement ** 
25
Plot,,** No join mapping for *Plot ** 
26
Slope Shape,,** No join mapping for *Slope Shape ** 
inputs/NVS/Plot/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
                        <parent_id><location><sourceaccessioncode>$Plot ID</sourceaccessioncode></location></parent_id>
11
                        <authorlocationcode>$Sub Plot</authorlocationcode>
12
                        <elevation_m>$Altitude</elevation_m>
13
                        <slopeaspect_deg><_compass><value>$Slope</value></_compass></slopeaspect_deg>
14
                        <sourceaccessioncode>
15
                            <_join>
16
                                <1>$Plot ID</1>
17
                                <2>$Sub Plot</2>
18
                            </_join>
19
                        </sourceaccessioncode>
20
                    </location>
21
                </path>
22
            </_simplifyPath>
23
        </path>
24
    </_setDefault>
25
</VegBIEN>
26
Inserted 3 new rows into database
inputs/NVS/Plot/new_terms.csv
1
Area,*Area_Ha,,
2
Altitude,elevationInMeters,,
3
Slope,slopeAspect,,
inputs/NVS/Plot/unmapped_terms.csv
1
*Plot
2
*Area_Ha
3
*Area Units
4
*Altitude Units
5
*Aspect
6
*Slope Shape
7
*Parent Material
8
*Physiography
9
*Placement
10
*Permanence

Also available in: Unified diff