Project

General

Profile

« Previous | Next » 

Revision 10381

inputs/.../: translated multi-column filters with _avg() to postprocessing derived columns, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

test.xml.ref
103 103
                                            <sourceaccessioncode>$specimen_id</sourceaccessioncode>
104 104
                                        </specimenreplicate>
105 105
                                        <stemobservation>
106
                                            <diameterbreastheight_m>
107
                                                <_cm_to_m>
108
                                                    <value>
109
                                                        <_avg>
110
                                                            <1>$DBH_Min</1>
111
                                                            <2>$DBH_Max</2>
112
                                                        </_avg>
113
                                                    </value>
114
                                                </_cm_to_m>
115
                                            </diameterbreastheight_m>
116
                                            <height_m>
117
                                                <_avg>
118
                                                    <1>$Height_Min</1>
119
                                                    <2>$Height_Max</2>
120
                                                </_avg>
121
                                            </height_m>
106
                                            <diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m>
107
                                            <height_m>$height_m</height_m>
122 108
                                        </stemobservation>
123 109
                                    </plantobservation>
124 110
                                </aggregateoccurrence>

Also available in: Unified diff