Le jeudi 01 mars 2012 18:56:26, Wolfgang Lahr a écrit :
> Hello list,
> 
> how would one prevent OGR2OGR from creating an empty target files
> when a WHERE condition returns no records from the source files? This
> question came up during a batch process where dozens or even hundreds of
> files are converted and further processed. Is there an option besides of
> manually deleting those files?

No. But provided you have some programming skills available, you could easily 
patch ogr2ogr to do that

> 
> TIA
> 
> wolfgang
> 
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to