Project

General

Profile

« Previous | Next » 

Revision 1353

VegBIEN mappings: plantnames: Nest taxons hierarchically using plantname.parent_id. Mappings using _forEach: Append a "," to the `in` list so that mappings will sort from shortest to longest `in` list ("]" comes after "," in ASCII, causing this not to happen without the trailing ",").

View differences:

VegBIEN.plots.xml.ref
9 9
                    <namedplace_id>
10 10
                        <namedplace>
11 11
                            <rank>country</rank>
12
                            <placename>Ecuador</placename>
12 13
                            <parent_id>
13 14
                                <namedplace>
14 15
                                    <rank>continent</rank>
15 16
                                    <placename>South America</placename>
16 17
                                </namedplace>
17 18
                            </parent_id>
18
                            <placename>Ecuador</placename>
19 19
                        </namedplace>
20 20
                    </namedplace_id>
21 21
                    <latitude>-3.45</latitude>
......
56 56
                    <namedplace_id>
57 57
                        <namedplace>
58 58
                            <rank>country</rank>
59
                            <placename>Germany</placename>
59 60
                            <parent_id>
60 61
                                <namedplace>
61 62
                                    <rank>continent</rank>
62 63
                                    <placename>Europe</placename>
63 64
                                </namedplace>
64 65
                            </parent_id>
65
                            <placename>Germany</placename>
66 66
                        </namedplace>
67 67
                    </namedplace_id>
68 68
                    <latitude>48.0667</latitude>

Also available in: Unified diff