Changes between Version 11 and Version 12 of FAQVector


Ignore:
Timestamp:
Aug 31, 2011, 2:58:01 PM (13 years ago)
Author:
EliL
Comment:

add subsection about putting filename into output field when merging shapefiles

Legend:

Unmodified
Added
Removed
Modified
  • FAQVector

    v11 v12  
    8484}}}
    8585
     86=== How do I include the source filename in a field when merging hundreds of shapefiles (Windows)? ===
     87{{{
     88 for %f in (*.shp) do ogr2ogr -sql "select *, '%~nf' as s_file from %~nf" -update -append merged\output.shp %f -nln output
     89}}}
     90
    8691== How do I translate a mixed geometry file to shapefile format? ==
    8792