Project

General

Profile

« Previous | Next » 

Revision 10936

inputs/VegBank/plot_/: translated single-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

test.xml.ref
9 9
                    <location>
10 10
                        <authorlocationcode>$authorplotcode</authorlocationcode>
11 11
                        <sourceaccessioncode>$plot_id</sourceaccessioncode>
12
                        <accesslevel>
13
                            <_map>
14
                                <0>public</0>
15
                                <1>public</1>
16
                                <2>public</2>
17
                                <3>public</3>
18
                                <4>public</4>
19
                                <5>data by request</5>
20
                                <6>private</6>
21
                                <value>$confidentialitystatus</value>
22
                            </_map>
23
                        </accesslevel>
12
                        <accesslevel>$accessRights</accesslevel>
24 13
                        <area_m2>$area</area_m2>
25 14
                        <elevation_m>$elevation</elevation_m>
26 15
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locationnarrative</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
......
35 24
                                                <_noCV>
36 25
                                                    <value>
37 26
                                                        <_alt>
38
                                                            <1>
39
                                                                <_km_to_m>
40
                                                                    <value>
41
                                                                        <_map>
42
                                                                            <1>1</1>
43
                                                                            <2>10</2>
44
                                                                            <3>100</3>
45
                                                                            <0></0>
46
                                                                            <4></4>
47
                                                                            <5></5>
48
                                                                            <6></6>
49
                                                                            <value>$confidentialitystatus</value>
50
                                                                        </_map>
51
                                                                    </value>
52
                                                                </_km_to_m>
53
                                                            </1>
27
                                                            <1>$coordinateUncertaintyInMeters__from_fuzzing</1>
54 28
                                                            <2>$locationaccuracy</2>
55 29
                                                        </_alt>
56 30
                                                    </value>

Also available in: Unified diff