Project

General

Profile

« Previous | Next » 

Revision 3985

mappings/VegCSV-VegBIEN.specimens.csv: maximumElevationInMeters: Fixed bug where _rangeEnd filter needed to be removed because this only works on a field which can be either a range or the start of a range, such as minimumElevationInMeters (on an end-of-range field, a single value will be removed completely). Added _alt for mergeability with DwC. minimumElevationInMeters: Added elevationrange-to mapping using _rangeEnd for mergeability with DwC.

View differences:

inputs/Madidi/test/import.plots.xml.ref
52 52
                        </value>
53 53
                    </_units>
54 54
                </from>
55
                <to>
56
                    <_units>
57
                        <default>m</default>
58
                        <to>m</to>
59
                        <to></to>
60
                        <value>
61
                            <_alt>
62
                                <2>
63
                                    <_rangeEnd>
64
                                        <value>
65
                                            <_replace>
66
                                                <\bca\.?></\bca\.?>
67
                                                <value>$Minimum altitude</value>
68
                                            </_replace>
69
                                        </value>
70
                                    </_rangeEnd>
71
                                </2>
72
                            </_alt>
73
                        </value>
74
                    </_units>
75
                </to>
55 76
            </_range>
56 77
        </elevationrange>
57 78
        <landform>$Topographical situation</landform>
inputs/Madidi/maps/VegBIEN.plots.csv
3 3
Altitude,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
4 4
Minimum altitude,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
5 5
Minimum altitude,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
6
Minimum altitude,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
6 7
Topographical situation,/location/landform,
7 8
Latitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/1",
8 9
Latitude (DMS),"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/2",
inputs/SALVIAS-CSV/test/import.plots.xml.ref
18 18
                                <to>m</to>
19 19
                                <to></to>
20 20
                                <value>
21
                                    <_rangeEnd>
22
                                        <value>
23
                                            <_replace>
24
                                                <\bca\.?></\bca\.?>
25
                                                <value>$elev_max_m</value>
26
                                            </_replace>
27
                                        </value>
28
                                    </_rangeEnd>
21
                                    <_replace>
22
                                        <\bca\.?></\bca\.?>
23
                                        <value>$elev_max_m</value>
24
                                    </_replace>
29 25
                                </value>
30 26
                            </_units>
31 27
                        </max>
......
75 71
                        <to>m</to>
76 72
                        <to></to>
77 73
                        <value>
78
                            <_rangeEnd>
79
                                <value>
74
                            <_alt>
75
                                <1>
80 76
                                    <_replace>
81 77
                                        <\bca\.?></\bca\.?>
82 78
                                        <value>$elev_max_m</value>
83 79
                                    </_replace>
84
                                </value>
85
                            </_rangeEnd>
80
                                </1>
81
                                <2>
82
                                    <_rangeEnd>
83
                                        <value>
84
                                            <_replace>
85
                                                <\bca\.?></\bca\.?>
86
                                                <value>$elev_min_m</value>
87
                                            </_replace>
88
                                        </value>
89
                                    </_rangeEnd>
90
                                </2>
91
                            </_alt>
86 92
                        </value>
87 93
                    </_units>
88 94
                </to>
inputs/SALVIAS-CSV/maps/VegBIEN.plots.csv
1 1
SALVIAS-CSV,VegBIEN:,Comments
2 2
plot_area_ha,/location/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3 3
elev_m,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
4
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
4
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
5 5
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
6 6
elev_min_m,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
7
elev_max_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
7
elev_max_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1/_replace:[""\bca\.?""=]/value",
8
elev_min_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
8 9
lat_decimal,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
9 10
long_decimal,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
10 11
pol2,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",Brad: No pol2=countyParish
inputs/SALVIAS/test/import.plots.xml.ref
18 18
                                <to>m</to>
19 19
                                <to></to>
20 20
                                <value>
21
                                    <_rangeEnd>
22
                                        <value>
23
                                            <_replace>
24
                                                <\bca\.?></\bca\.?>
25
                                                <value>$elev_max_m</value>
26
                                            </_replace>
27
                                        </value>
28
                                    </_rangeEnd>
21
                                    <_replace>
22
                                        <\bca\.?></\bca\.?>
23
                                        <value>$elev_max_m</value>
24
                                    </_replace>
29 25
                                </value>
30 26
                            </_units>
31 27
                        </max>
......
75 71
                        <to>m</to>
76 72
                        <to></to>
77 73
                        <value>
78
                            <_rangeEnd>
79
                                <value>
74
                            <_alt>
75
                                <1>
80 76
                                    <_replace>
81 77
                                        <\bca\.?></\bca\.?>
82 78
                                        <value>$elev_max_m</value>
83 79
                                    </_replace>
84
                                </value>
85
                            </_rangeEnd>
80
                                </1>
81
                                <2>
82
                                    <_rangeEnd>
83
                                        <value>
84
                                            <_replace>
85
                                                <\bca\.?></\bca\.?>
86
                                                <value>$elev_min_m</value>
87
                                            </_replace>
88
                                        </value>
89
                                    </_rangeEnd>
90
                                </2>
91
                            </_alt>
86 92
                        </value>
87 93
                    </_units>
88 94
                </to>
inputs/SALVIAS/maps/VegBIEN.plots.csv
1 1
SALVIAS,VegBIEN:,Comments
2 2
plot_area_ha,/location/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3 3
Elev,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
4
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
4
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
5 5
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
6 6
elev_min_m,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
7
elev_max_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
7
elev_max_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1/_replace:[""\bca\.?""=]/value",
8
elev_min_m,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
8 9
LatDec,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
9 10
LongDec,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
10 11
pol2,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",Brad: No pol2=countyParish
mappings/VegCSV-VegBIEN.specimens.csv
1 1
VegCSV[DwC],VegBIEN:,Comments
2 2
plotArea,/location/area,
3 3
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
4
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
4
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
5 5
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
6 6
minimumElevationInMeters,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
7
maximumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
7
maximumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1/_replace:[""\bca\.?""=]/value",
8
minimumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace:[""\bca\.?""=]/value",
8 9
landform,/location/landform,
9 10
coordinateUncertaintyInMeters,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,
10 11
footprintWKT,/location/locationdetermination/footprintgeometry_dwc,
mappings/for_review/VegCSV-VegBIEN.specimens.csv
5 5
minimumElevationInMeters,//location/elevation,
6 6
minimumElevationInMeters,//location/elevationrange,
7 7
maximumElevationInMeters,//location/elevationrange,
8
minimumElevationInMeters,//location/elevationrange,
8 9
landform,//location/landform,
9 10
coordinateUncertaintyInMeters,//locationdetermination/coordsaccuracy,
10 11
footprintWKT,//locationdetermination/footprintgeometry_dwc,

Also available in: Unified diff