Project

General

Profile

« Previous | Next » 

Revision 7681

mappings/VegCore-VegBIEN.csv: Mapped latitude/longitude_DMS to coordinates.latitude_deg using new _dms_to_dd(text)

View differences:

test.xml.ref
207 207
                                <place>
208 208
                                    <coordinates_id>
209 209
                                        <coordinates>
210
                                            <latitude_deg><_dms_to_dd><value>$LATITUDE</value></_dms_to_dd></latitude_deg>
211
                                            <longitude_deg><_dms_to_dd><value>$LONGITUDE</value></_dms_to_dd></longitude_deg>
210 212
                                            <verbatimlatitude>$LATITUDE</verbatimlatitude>
211 213
                                            <verbatimlongitude>$LONGITUDE</verbatimlongitude>
212 214
                                        </coordinates>
......
215 217
                                    <matched_place_id>
216 218
                                        <place>
217 219
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
220
                                            <coordinates_id>
221
                                                <coordinates>
222
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
223
                                                    <latitude_deg><_dms_to_dd><value>$LATITUDE</value></_dms_to_dd></latitude_deg>
224
                                                    <longitude_deg><_dms_to_dd><value>$LONGITUDE</value></_dms_to_dd></longitude_deg>
225
                                                </coordinates>
226
                                            </coordinates_id>
218 227
                                            <county>$COUNTY</county>
219 228
                                            <stateprovince>$STATE</stateprovince>
220 229
                                        </place>
......
230 239
        </path>
231 240
    </_setDefault>
232 241
</VegBIEN>
233
Inserted 11 new rows into database
242
Inserted 13 new rows into database

Also available in: Unified diff