Explorar o código

Täiendus 'copy_gpkg_to_db'.

Ardo Kubjas %!s(int64=5) %!d(string=hai) anos
pai
achega
a0ebed1bff
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,