Project

General

Profile

« Previous | Next » 

Revision 4288

Added inputs/CTFS/Subplot/

View differences:

inputs/CTFS/Subplot/src.csv
1
CTFS[Veg+],Veg+,Comments
2
QuadratID,,
3
PlotID,,
4
QuadratName,,
5
StartX,,
6
StartY,,
7
DimX,,
8
DimY,,
inputs/CTFS/Subplot/map.csv
1
CTFS[Veg+],Veg+,Comments
2
DimX,,
3
DimY,,
inputs/CTFS/Subplot/map.full.csv
1
CTFS[Veg+],Veg+,Comments
2
PlotID,PlotID
3
QuadratID,QuadratID
4
QuadratName,QuadratName
5
StartX,StartX
6
StartY,StartY
inputs/CTFS/Subplot/VegBIEN.csv
1
CTFS[Veg+],VegBIEN:,Comments
2
QuadratName,/location/authorlocationcode/_alt/1,
3
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
4
QuadratName,"/location/parent_id/location/authorlocationcode/_if[@name=""if subplot""]/cond/_exists",
5
QuadratName,"/location/parent_id/location/sourceaccessioncode/_if[@name=""if subplot""]/cond/_exists",
6
PlotID,"/location/parent_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
7
QuadratID,/location/sourceaccessioncode,
8
QuadratName,"/location/sourceaccessioncode/_if[@name=""if subplot""]/cond/_exists",
9
PlotID,"/location/sourceaccessioncode/_if[@name=""if subplot""]/else",
10
StartX,/location/sublocationxposition,
11
StartY,/location/sublocationyposition,
inputs/CTFS/Subplot/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>$QuadratName</authorlocationcode>
5
        <parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id>
6
        <sourceaccessioncode>$QuadratID</sourceaccessioncode>
7
        <sublocationxposition>$StartX</sublocationxposition>
8
        <sublocationyposition>$StartY</sublocationyposition>
9
    </location>
10
</VegBIEN>
11
Inserted 3 new rows into database

Also available in: Unified diff