Feature request #7208
replace the "merge shapefiles" code with new more efficient one (python code available)
|Assigned to:||-||% Done:||
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
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"
Updated by Giovanni Manghi almost 4 years ago
- File shapemerger.py added
Updated by Giovanni Manghi about 3 years ago
- Target version set to Future Release - Nice to have
Antonio Locandro wrote:
Any updates on this?
Also available in: Atom