Project

General

Profile

« Previous | Next » 

Revision 4341

inputs/CTFS/: Added SubplotObservation/

View differences:

inputs/CTFS/import_order.txt
1 1
Plot
2 2
Subplot
3
PlotObservation
3
PlotObservation
4
SubplotObservation
inputs/CTFS/SubplotObservation/src.csv
1
CTFS[Veg+],Veg+,Comments
2
CensusID,,
3
QuadratID,,
4
PlotID,,
inputs/CTFS/SubplotObservation/map.csv
1
CTFS[Veg+],Veg+,Comments
inputs/CTFS/SubplotObservation/map.full.csv
1
CTFS[Veg+],Veg+,Comments
2
CensusID,CensusID
3
PlotID,PlotID
4
QuadratID,QuadratID
inputs/CTFS/SubplotObservation/VegBIEN.csv
1
CTFS[Veg+],VegBIEN:,Comments
2
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
5
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
6
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/1",
7
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
8
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
9
QuadratID,/location/sourceaccessioncode,
inputs/CTFS/SubplotObservation/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id>
5
        <locationevent><parent_id><locationevent><sourceaccessioncode>$CensusID</sourceaccessioncode></locationevent></parent_id></locationevent>
6
        <sourceaccessioncode>$QuadratID</sourceaccessioncode>
7
    </location>
8
</VegBIEN>
9
Inserted 5 new rows into database

Also available in: Unified diff