id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4824,Creating another CSV file into directory with invalid CSV file fails,Jukka Rahkonen,warmerdam,"Ogr2ogr with CSV driver does not create a new file if there is already at least one file with .csv extension in the directory. Create a CSV file without problem {{{ F:\OSM_data>ogr2ogr -f csv -dialect SQLITE poi.csv finland.osm.pbf -sql ""select amenity from points where amenity is not null"" -spat 24.821 60.123 25.259 60.317 -debug on layer names ignored in combination with -sql. }}} Trial to create another CSV file fails {{{ F:\OSM_data>ogr2ogr -f csv -dialect SQLITE poi2.csv finland.osm.pbf -sql ""select amenity from points where amenity is not null"" -spat 24.821 60.123 25.259 60.31 7-debug on csv driver failed to create poi2.csv }}} The latter command works after deleting all existing .csv files from the directory {{{ F:\OSM_data>del *.csv F:\OSM_data>ogr2ogr -f csv -dialect SQLITE poi2.csv finland.osm.pbf -sql ""select amenity from points where amenity is not null"" -spat 24.821 60.123 25.259 60.31 7-debug on layer names ignored in combination with -sql. }}} Tested on Windows Vista 32-bit with GDAL version r24962, MSVC2010 build. ",defect,closed,normal,1.9.2,OGR_SF,unspecified,normal,fixed,csv,