Skip to content
Snippets Groups Projects
Commit a3676504 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: use the right mode for opening

parent fb010c6a
No related branches found
No related tags found
No related merge requests found
......@@ -451,7 +451,7 @@ private:
if(GetParameterString("mode.vector.outmode") == "ovw")
{
// Create the datasource
ogrDS = otb::ogr::DataSource::New(dataSourceName, otb::ogr::DataSource::Modes::Update_LayerOverwrite);
ogrDS = otb::ogr::DataSource::New(dataSourceName, otb::ogr::DataSource::Modes::Overwrite);
// and create the layer since we are in overwrite mode, the
// datasource is blank
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment