瀏覽代碼

Täiendus 'copy_gpkg_to_db'.

Ardo Kubjas 5 年之前
父節點
當前提交
a0ebed1bff
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      R/copy_gpkg_to_db.R

+ 1 - 0
R/copy_gpkg_to_db.R

@@ -50,6 +50,7 @@ copy_gpkg_to_db <- function(gpkg = NULL, layer = NULL, conf = NULL) {
   algorithm <- "qgis:importintopostgis"
   # cat(qgisprocess::qgis_show_help(algorithm = algorithm))
   # qgisprocess::qgis_outputs(algorithm = algorithm)
+  ruut::db_create_new_schema(conf)
   result <- qgisprocess::qgis_run_algorithm(
     algorithm = algorithm,
     CREATEINDEX = 1,