[gdal-dev] Dropping GeoPackage table doesn't reduce file size
Jerome.Guelat at vogelwarte.ch
Mon Oct 31 06:34:32 PDT 2016
I'm trying to drop a GeoPackage table using ogrinfo db.gpkg -sql "drop table test" (test is the only table in the GeoPackage). This seems to work and ogrinfo tells me that the GeoPackage is empty but the file size is the same as before (9.5 MB). Is this expected?
I'm using GDAL/OGR 2.1.2 on Windows, the GeoPackage was created with QGIS 2.18.
Thanks for your help!
More information about the gdal-dev