<html><head></head><body><div class="ydp952f3066yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div><div>Hello,</div><div><br></div><div dir="ltr" data-setdir="false">I've been trying to figure out how to do this...</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have a spreadsheet of records that has a field for the GPX file for each record. I'm able to use ogr2ogr to import the spreadsheet and the GPX files into different layers in a geopackage file. I haven't yet been able to figure out how to combine the two data sources into a single layer, or add a geometry column (and other GPX columns) to the imported spreadsheet layer from the corresponding GPX file. I've also tried using ogrmerge. The GPX layer uses any name within that file (which is different than the filename). I see QGIS has a vector layer merge function, but don't think that will work. Looks like using Python and gdal/ogr modules might work...</div><div><br></div><div>The spreadsheet looks like:</div><div>name, gpx filename, source, date, notes</div><div><br></div><div>Thanks,</div><div>Gerry</div></div></div><br></div></body></html>