Skip to contents

Geoserver REST API PostGISDataStore

Geoserver REST API PostGISDataStore

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer PostGIS dataStore

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Methods

Inherited methods


Method new()

initializes a PostGIS data store

Usage

GSPostGISDataStore$new(
  xml = NULL,
  name = NULL,
  description = "",
  enabled = TRUE
)

Arguments

xml

an object of class xml_node-class to create object from XML

name

coverage store name

description

coverage store description

enabled

whether the store should be enabled or not. Default is TRUE


Method clone()

The objects of this class are cloneable with this method.

Usage

GSPostGISDataStore$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  GSPostGISDataStore$new(name = "ds", description = "des", enabled = TRUE)
#> <GSPostGISDataStore>
#> ....|-- name: ds
#> ....|-- enabled: TRUE
#> ....|-- description: des
#> ....|-- type: PostGIS
#> ....|-- connectionParameters <GSRESTEntrySet>
#> ........|-- entryset
#> ............|-- min connections: 1
#> ............|-- max connections: 10
#> ............|-- fetch size: 1000
#> ............|-- Connection timeout: 20
#> ............|-- Loose bbox: TRUE
#> ............|-- preparedStatements: FALSE
#> ............|-- Max open prepared statements: 50
#> ............|-- Estimated extends: FALSE
#> ............|-- dbtype: postgis