Changes between Initial Version and Version 1 of Ticket #7203, comment 4


Ignore:
Timestamp:
Jan 17, 2018, 1:27:11 PM (6 years ago)
Author:
Jukka Rahkonen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7203, comment 4

    initial v1  
    11I guess that it depends on the driver. I think that user friendly and safe behavior would be to create a table straight ahead with -nln if table does not exist and throw an error if it does exist, with a hint to use explicitly either -append or -overwrite. Of course the default must not be -overwrite. Some drivers support also truncate, like PostGIS driver through a config option. Might be useful in Carto driver as well.
     2
     3Actually it seems that in this case the default comes from the layer creation option "OVERWRITE" of the Carto driver http://www.gdal.org/drv_carto.html.