Feature request #7208

Updated by Nyall Dawson almost 4 years ago

The "merge shapefiles" tool is very inefficient, when applied to hundreds/thousands of shapes the progress bar barely moves for many hours on a very powerful machine.

I discovered this python code


that does the task in a matter of *seconds* even for many GB worth of shapefiles.

Its speed is equal, if not faster to an ogr2ogr script



DATA=`find . -name '*.shp'`

ogr2ogr -a_srs EPSG:4326 merge.shp

for i in $DATA


ogr2ogr -append -update merge.shp $i -f "Esri Shapefile"

[email protected]