I want to calculate the union/merge two overlapping polygons using ogr2ogr (as I have 300+ to do). I want the output to be the same as you would get if you used the 'Merge shapefiles to one' command in QGIS (Vector > Data Management Tools > Merge shapefiles to one). Does anyone know whether or how this is possible?
My input files are two vector grids populated with statistics - I want to merge two files but keep the attributes of both. The files are exactly the same dimensions and the column names within the two files are different.
I've tried ogr2ogr -update -append etc... but this only allows me to keep one set of attributes.