Feature request #7208
replace the "merge shapefiles" code with new more efficient one (python code available)
|Pull Request or Patch supplied:||No||Resolution:||wontfix|
|Easy fix?:||No||Copied to github as #:||16248|
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"
#1 Updated by Giovanni Manghi over 6 years ago
- File shapemerger.py added