Skip to content

Commit

Permalink
current update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 1, 2024
1 parent 960ebc2 commit 2b9922f
Show file tree
Hide file tree
Showing 176 changed files with 1,359 additions and 1,023 deletions.
Binary file modified .github/depends.Rds
Binary file not shown.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Package: qgis
Type: Package
Title: An extension of package "qgisprocess" providing direct R functions for QGIS functions
Version: 3.38.3.9000
Version: 3.40.0.9000
Authors@R: person(given = "Jan",
family = "Caha",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-0165-0606"))
Maintainer: Jan Caha <[email protected]>
Description: An extension of package `qgisprocess` providing direct R functions for QGIS functions. Compiled against QGIS version: 3.38.3-Grenoble.
Description: An extension of package `qgisprocess` providing direct R functions for QGIS functions. Compiled against QGIS version: 3.40.0-Bratislava.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ export(qgis_greaterthanfrequency)
export(qgis_heatmapkerneldensityestimation)
export(qgis_highestpositioninrasterstack)
export(qgis_hillshade)
export(qgis_httprequest)
export(qgis_hublines)
export(qgis_hypsometriccurves)
export(qgis_idwinterpolation)
Expand Down Expand Up @@ -540,6 +541,7 @@ export(qgis_multiringconstantbuffer)
export(qgis_multiunion)
export(qgis_nearestneighbouranalysis)
export(qgis_offsetline)
export(qgis_openurl)
export(qgis_orderbyexpression)
export(qgis_orientedminimumboundingbox)
export(qgis_orthogonalize)
Expand Down
9 changes: 5 additions & 4 deletions R/gdal_importvectorintopostgisdatabaseavailableconnections.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
##' @param DATABASE `providerconnection` - Database (connection name). Name of registered database connection.
##' @param INPUT `source` - Input layer. Path to a vector layer.
##' @param SHAPE_ENCODING `string` - Shape encoding. String value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param GTYPE `enum` of `("", "NONE", "GEOMETRY", "POINT", "LINESTRING", "POLYGON", "GEOMETRYCOLLECTION", "MULTIPOINT", "MULTIPOLYGON", "MULTILINESTRING", "CIRCULARSTRING", "COMPOUNDCURVE", "CURVEPOLYGON", "MULTICURVE", "MULTISURFACE")` - Output geometry type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
##' @param GTYPE `enum` of `("", "NONE", "GEOMETRY", "POINT", "LINESTRING", "POLYGON", "GEOMETRYCOLLECTION", "MULTIPOINT", "MULTIPOLYGON", "MULTILINESTRING", "CIRCULARSTRING", "COMPOUNDCURVE", "CURVEPOLYGON", "MULTICURVE", "MULTISURFACE", "CONVERT_TO_LINEAR", "CONVERT_TO_CURVE")` - Output geometry type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
##' @param A_SRS `crs` - Assign an output CRS. CRS as an auth ID (e.g. 'EPSG:3111'). CRS as a PROJ4 string (e.g. 'PROJ4:…'). CRS as a WKT string (e.g. 'WKT:…'). Path to a layer. The CRS of the layer is used..
##' @param T_SRS `crs` - Reproject to this CRS on output . CRS as an auth ID (e.g. 'EPSG:3111'). CRS as a PROJ4 string (e.g. 'PROJ4:…'). CRS as a WKT string (e.g. 'WKT:…'). Path to a layer. The CRS of the layer is used..
##' @param S_SRS `crs` - Override source CRS. CRS as an auth ID (e.g. 'EPSG:3111'). CRS as a PROJ4 string (e.g. 'PROJ4:…'). CRS as a WKT string (e.g. 'WKT:…'). Path to a layer. The CRS of the layer is used..
Expand All @@ -27,6 +27,7 @@
##' @param LAUNDER `boolean` - Do not launder columns\code{/}table names. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param INDEX `boolean` - Do not create spatial index. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param SKIPFAILURES `boolean` - Continue after a failure, skipping the failed feature. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param MAKEVALID `boolean` - Validate geometries based on Simple Features specification. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param PROMOTETOMULTI `boolean` - Promote to Multipart. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param PRECISION `boolean` - Keep width and precision of input attributes. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
##' @param OPTIONS `string` - Additional creation options. String value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
Expand All @@ -44,15 +45,15 @@
##' @md
##' @importFrom qgisprocess qgis_run_algorithm

gdal_importvectorintopostgisdatabaseavailableconnections <- function(DATABASE = qgisprocess:::qgis_default_value(), INPUT = qgisprocess:::qgis_default_value(), SHAPE_ENCODING = qgisprocess:::qgis_default_value(), GTYPE = qgisprocess:::qgis_default_value(), A_SRS = qgisprocess:::qgis_default_value(), T_SRS = qgisprocess:::qgis_default_value(), S_SRS = qgisprocess:::qgis_default_value(), SCHEMA = qgisprocess:::qgis_default_value(), TABLE = qgisprocess:::qgis_default_value(), PK = qgisprocess:::qgis_default_value(), PRIMARY_KEY = qgisprocess:::qgis_default_value(), GEOCOLUMN = qgisprocess:::qgis_default_value(), DIM = qgisprocess:::qgis_default_value(), SIMPLIFY = qgisprocess:::qgis_default_value(), SEGMENTIZE = qgisprocess:::qgis_default_value(), SPAT = qgisprocess:::qgis_default_value(), CLIP = qgisprocess:::qgis_default_value(), WHERE = qgisprocess:::qgis_default_value(), GT = qgisprocess:::qgis_default_value(), OVERWRITE = qgisprocess:::qgis_default_value(), APPEND = qgisprocess:::qgis_default_value(), ADDFIELDS = qgisprocess:::qgis_default_value(), LAUNDER = qgisprocess:::qgis_default_value(), INDEX = qgisprocess:::qgis_default_value(), SKIPFAILURES = qgisprocess:::qgis_default_value(), PROMOTETOMULTI = qgisprocess:::qgis_default_value(), PRECISION = qgisprocess:::qgis_default_value(), OPTIONS = qgisprocess:::qgis_default_value(),..., .complete_output = .complete_output_option(), .quiet = .quiet_option(), .messages = .message_option()) {
gdal_importvectorintopostgisdatabaseavailableconnections <- function(DATABASE = qgisprocess:::qgis_default_value(), INPUT = qgisprocess:::qgis_default_value(), SHAPE_ENCODING = qgisprocess:::qgis_default_value(), GTYPE = qgisprocess:::qgis_default_value(), A_SRS = qgisprocess:::qgis_default_value(), T_SRS = qgisprocess:::qgis_default_value(), S_SRS = qgisprocess:::qgis_default_value(), SCHEMA = qgisprocess:::qgis_default_value(), TABLE = qgisprocess:::qgis_default_value(), PK = qgisprocess:::qgis_default_value(), PRIMARY_KEY = qgisprocess:::qgis_default_value(), GEOCOLUMN = qgisprocess:::qgis_default_value(), DIM = qgisprocess:::qgis_default_value(), SIMPLIFY = qgisprocess:::qgis_default_value(), SEGMENTIZE = qgisprocess:::qgis_default_value(), SPAT = qgisprocess:::qgis_default_value(), CLIP = qgisprocess:::qgis_default_value(), WHERE = qgisprocess:::qgis_default_value(), GT = qgisprocess:::qgis_default_value(), OVERWRITE = qgisprocess:::qgis_default_value(), APPEND = qgisprocess:::qgis_default_value(), ADDFIELDS = qgisprocess:::qgis_default_value(), LAUNDER = qgisprocess:::qgis_default_value(), INDEX = qgisprocess:::qgis_default_value(), SKIPFAILURES = qgisprocess:::qgis_default_value(), MAKEVALID = qgisprocess:::qgis_default_value(), PROMOTETOMULTI = qgisprocess:::qgis_default_value(), PRECISION = qgisprocess:::qgis_default_value(), OPTIONS = qgisprocess:::qgis_default_value(),..., .complete_output = .complete_output_option(), .quiet = .quiet_option(), .messages = .message_option()) {

check_algorithm_necessities("gdal:importvectorintopostgisdatabaseavailableconnections")

if (.messages){
output <- qgisprocess::qgis_run_algorithm("gdal:importvectorintopostgisdatabaseavailableconnections", `DATABASE` = DATABASE, `INPUT` = INPUT, `SHAPE_ENCODING` = SHAPE_ENCODING, `GTYPE` = GTYPE, `A_SRS` = A_SRS, `T_SRS` = T_SRS, `S_SRS` = S_SRS, `SCHEMA` = SCHEMA, `TABLE` = TABLE, `PK` = PK, `PRIMARY_KEY` = PRIMARY_KEY, `GEOCOLUMN` = GEOCOLUMN, `DIM` = DIM, `SIMPLIFY` = SIMPLIFY, `SEGMENTIZE` = SEGMENTIZE, `SPAT` = SPAT, `CLIP` = CLIP, `WHERE` = WHERE, `GT` = GT, `OVERWRITE` = OVERWRITE, `APPEND` = APPEND, `ADDFIELDS` = ADDFIELDS, `LAUNDER` = LAUNDER, `INDEX` = INDEX, `SKIPFAILURES` = SKIPFAILURES, `PROMOTETOMULTI` = PROMOTETOMULTI, `PRECISION` = PRECISION, `OPTIONS` = OPTIONS,..., .quiet = .quiet)
output <- qgisprocess::qgis_run_algorithm("gdal:importvectorintopostgisdatabaseavailableconnections", `DATABASE` = DATABASE, `INPUT` = INPUT, `SHAPE_ENCODING` = SHAPE_ENCODING, `GTYPE` = GTYPE, `A_SRS` = A_SRS, `T_SRS` = T_SRS, `S_SRS` = S_SRS, `SCHEMA` = SCHEMA, `TABLE` = TABLE, `PK` = PK, `PRIMARY_KEY` = PRIMARY_KEY, `GEOCOLUMN` = GEOCOLUMN, `DIM` = DIM, `SIMPLIFY` = SIMPLIFY, `SEGMENTIZE` = SEGMENTIZE, `SPAT` = SPAT, `CLIP` = CLIP, `WHERE` = WHERE, `GT` = GT, `OVERWRITE` = OVERWRITE, `APPEND` = APPEND, `ADDFIELDS` = ADDFIELDS, `LAUNDER` = LAUNDER, `INDEX` = INDEX, `SKIPFAILURES` = SKIPFAILURES, `MAKEVALID` = MAKEVALID, `PROMOTETOMULTI` = PROMOTETOMULTI, `PRECISION` = PRECISION, `OPTIONS` = OPTIONS,..., .quiet = .quiet)
} else {
suppressMessages(
output <- qgisprocess::qgis_run_algorithm("gdal:importvectorintopostgisdatabaseavailableconnections", `DATABASE` = DATABASE, `INPUT` = INPUT, `SHAPE_ENCODING` = SHAPE_ENCODING, `GTYPE` = GTYPE, `A_SRS` = A_SRS, `T_SRS` = T_SRS, `S_SRS` = S_SRS, `SCHEMA` = SCHEMA, `TABLE` = TABLE, `PK` = PK, `PRIMARY_KEY` = PRIMARY_KEY, `GEOCOLUMN` = GEOCOLUMN, `DIM` = DIM, `SIMPLIFY` = SIMPLIFY, `SEGMENTIZE` = SEGMENTIZE, `SPAT` = SPAT, `CLIP` = CLIP, `WHERE` = WHERE, `GT` = GT, `OVERWRITE` = OVERWRITE, `APPEND` = APPEND, `ADDFIELDS` = ADDFIELDS, `LAUNDER` = LAUNDER, `INDEX` = INDEX, `SKIPFAILURES` = SKIPFAILURES, `PROMOTETOMULTI` = PROMOTETOMULTI, `PRECISION` = PRECISION, `OPTIONS` = OPTIONS,..., .quiet = .quiet)
output <- qgisprocess::qgis_run_algorithm("gdal:importvectorintopostgisdatabaseavailableconnections", `DATABASE` = DATABASE, `INPUT` = INPUT, `SHAPE_ENCODING` = SHAPE_ENCODING, `GTYPE` = GTYPE, `A_SRS` = A_SRS, `T_SRS` = T_SRS, `S_SRS` = S_SRS, `SCHEMA` = SCHEMA, `TABLE` = TABLE, `PK` = PK, `PRIMARY_KEY` = PRIMARY_KEY, `GEOCOLUMN` = GEOCOLUMN, `DIM` = DIM, `SIMPLIFY` = SIMPLIFY, `SEGMENTIZE` = SEGMENTIZE, `SPAT` = SPAT, `CLIP` = CLIP, `WHERE` = WHERE, `GT` = GT, `OVERWRITE` = OVERWRITE, `APPEND` = APPEND, `ADDFIELDS` = ADDFIELDS, `LAUNDER` = LAUNDER, `INDEX` = INDEX, `SKIPFAILURES` = SKIPFAILURES, `MAKEVALID` = MAKEVALID, `PROMOTETOMULTI` = PROMOTETOMULTI, `PRECISION` = PRECISION, `OPTIONS` = OPTIONS,..., .quiet = .quiet)
)
}

Expand Down
Loading

0 comments on commit 2b9922f

Please sign in to comment.