GSShapefileDirectoryDataStore: Geoserver REST API ShapeFileDirectoryDataStore

GSShapefileDirectoryDataStoreR Documentation

Geoserver REST API ShapeFileDirectoryDataStore

Description

Geoserver REST API ShapeFileDirectoryDataStore

Geoserver REST API ShapeFileDirectoryDataStore

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer Shapefile directory dataStore

Super classes

geosapi::GSRESTResource -> geosapi::GSAbstractStore -> geosapi::GSAbstractDataStore -> geosapi::GSShapefileDataStore -> GSShapefileDirectoryDataStore

Methods

Public methods

Inherited methods

Method new()

initializes a shapefile directory data store

Usage
GSShapefileDirectoryDataStore$new(
  xml = NULL,
  name = NULL,
  description = "",
  enabled = TRUE,
  url
)
Arguments
xml

an object of class XMLInternalNode-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

url

url


Method setUrl()

Set the spatial files data URL

Usage
GSShapefileDirectoryDataStore$setUrl(url)
Arguments
url

url


Method setCharset()

Set the charset used for DBF file.

Usage
GSShapefileDirectoryDataStore$setCharset(charset = "ISO-8859-1")
Arguments
charset

charset. Default value is 'ISO-8859-1'


Method setCreateSpatialIndex()

Set the 'Create Spatial Index' option

Usage
GSShapefileDirectoryDataStore$setCreateSpatialIndex(create = TRUE)
Arguments
create

create. Default is TRUE


Method setMemoryMappedBuffer()

Set the 'Memory Mapped Buffer' option

Usage
GSShapefileDirectoryDataStore$setMemoryMappedBuffer(buffer = FALSE)
Arguments
buffer

buffer. Default is FALSE


Method setCacheReuseMemoryMaps()

Set the 'Cache & Reuse Memory Maps' option.

Usage
GSShapefileDirectoryDataStore$setCacheReuseMemoryMaps(maps = TRUE)
Arguments
maps

maps. Default is TRUE


Method setDefautConnectionParameters()

Set default connection parameters

Usage
GSShapefileDirectoryDataStore$setDefautConnectionParameters()

Method clone()

The objects of this class are cloneable with this method.

Usage
GSShapefileDirectoryDataStore$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

GSShapefileDirectoryDataStore$new(name = "ds", description = "des",
                         enabled = TRUE, url = "file://data")


geosapi documentation built on May 2, 2022, 5:05 p.m.