[gdal-dev] combine shapefiles?
Frank Warmerdam
warmerdam at pobox.com
Tue Oct 12 11:51:22 EDT 2010
Wendell Turner wrote:
> Is there a utility that will combine multiple shapefiles
> into one shapefile? I tried ogr2ogr with several
> combinations of arguments (overwrite, append, update) but it
> didn't work. Is there another utility that will will
> combine them?
>
> (mapserver queries don't seem to work right on layers with
> multiple shapefiles using a tileindex)
Wendell,
I was successful doing this to copy a file to another file and then
append another copy of the same features onto the second file.
ogr2ogr out.shp in.shp
ogr2ogr -update -append out.shp in.shp in -nln out
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list