Re: [gdal-dev] Ogr2ogr, SQLite and overwriting existing database

2018-05-09 Thread Rahkonen Jukka (MML)
ady exists. ERROR 1: sqlite driver failed to create foo.sqlite -Jukka- Lähettäjä: Even Rouault [mailto:even.roua...@spatialys.com] Lähetetty: 9. toukokuuta 2018 19:43 Vastaanottaja: gdal-dev@lists.osgeo.org Kopio: Rahkonen Jukka (MML) Aihe: Re: [gdal-dev] Ogr2ogr, SQLite and overwriting existin

Re: [gdal-dev] Ogr2ogr, SQLite and overwriting existing database

2018-05-09 Thread Even Rouault
Hi, > What is the expected behavior if user asks ogr2ogr to create a SQLite > database that already exists? The driver page > http://www.gdal.org/drv_sqlite.html tells that "The SQLite driver supports > creating new SQLite database files, or adding tables to existing ones. Note > that a new databa

[gdal-dev] Ogr2ogr, SQLite and overwriting existing database

2018-05-09 Thread Rahkonen Jukka (MML)
Hi, What is the expected behavior if user asks ogr2ogr to create a SQLite database that already exists? The driver page http://www.gdal.org/drv_sqlite.html tells that "The SQLite driver supports creating new SQLite database files, or adding tables to existing ones. Note that a new database file