diff options
| -rw-r--r-- | import_source.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/import_source.py b/import_source.py index bf30430..08f3dba 100644 --- a/import_source.py +++ b/import_source.py @@ -230,6 +230,9 @@ def createOutputLayer(ds : gdal.Dataset, geom_field.SetNullable(False) lyr.AlterGeomFieldDefn(0, geom_field, ogr.ALTER_GEOM_FIELD_DEFN_NULLABLE_FLAG) + # TODO evaluate use external storage not main storage for geometries + # https://blog.cleverelephant.ca/2018/09/postgis-external-storage.html + # sync before calling StartTransaction() so we're not trying to rollback changes # on a non-existing table lyr.SyncToDisk() |
