[Gdal-dev] ogr2ogr: merging multi shp data in one output

Gennady Khokhorin gok at aerometric-ak.com
Wed Mar 7 16:54:49 EST 2007

Hello, List!
I want to merge multiple shp files (blue.shp, red.shp) in one (ex. blue.shp) and got an error message:

ogr2ogr -update -append "blue.shp" "red.shp"

ERROR 1: Failed to create file blue.shp
ERROR 4: Failed to open Shapefile 'blue.shp'
ERROR 1: Terminating translation prematurely after failed translation of layer blue

Is it a bug or just shp driver can not append data?
What would be a work around?


More information about the Gdal-dev mailing list