geosapi (version 0.1-0)

GSShapefileDataStore: Geoserver REST API ShapeFileDataStore

Description

Geoserver REST API ShapeFileDataStore

Usage

GSShapefileDataStore

Arguments

Value

Object of R6Class for modelling a GeoServer Shapefile dataStore

Format

R6Class object.

Methods

new(xml, dataStore, description, enabled, url)

Instantiates a GSShapefileDataStore object

setUrl(url)

Set the spatial files data URL

setCharset(charset)

Set the charset used for DBF file. Default value is 'ISO-8859-1'

setCreateSpatialIndex(create)

Set the 'Create Spatial Index' option. Default is TRUE

setMemoryMappedBuffer(buffer)

Set the 'Memory Mapped Buffer' option. Default is TRUE

CacheReuseMemoryMaps(maps)

Set the 'Cache & Reuse Memory Maps' option. Default is TRUE

setDefautConnectionParameters()

Set the defaut connection paramaters

Examples

Run this code
# NOT RUN {
GSShapefileDataStore$new(dataStore="ds", description = "des",
                         enabled = TRUE, url = "file://data/shape.shp")
# }

Run the code above in your browser using DataLab