Changes between Version 3 and Version 4 of FAQVector


Ignore:
Timestamp:
Sep 27, 2007, 11:43:14 AM (17 years ago)
Author:
maphew
Comment:

added simple "merge all" example

Legend:

Unmodified
Added
Removed
Modified
  • FAQVector

    v3 v4  
    3131}}}
    3232The trick is to use the first input to create a new shapefile, and thereafter only update and append. See the end of http://www.gdal.org/ogr/drv_shapefile.html
     33
     34If you don't need to specify a human friendly name via {{{-nln}}}, using {{{-append}}} by itself is simpler:
     35{{{
     36 for %f in (dir1\*.shp dir2\*.shp) do (ogr2ogr -f "esri shapefile" -append merged %f)
     37}}}
     38