Geoserver REST API ShapeFileDataStore
Geoserver REST API ShapeFileDataStore
Object of R6Class for modelling a GeoServer Shapefile dataStore
R6Class object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
geosapi::GSRESTResource -> geosapi::GSAbstractStore -> geosapi::GSAbstractDataStore -> GSShapefileDataStore
Inherited methods
geosapi::GSRESTResource$encode()geosapi::GSRESTResource$getClassName()geosapi::GSRESTResource$print()geosapi::GSAbstractStore$setDescription()geosapi::GSAbstractStore$setEnabled()geosapi::GSAbstractStore$setType()geosapi::GSAbstractDataStore$addConnectionParameter()geosapi::GSAbstractDataStore$decode()geosapi::GSAbstractDataStore$delConnectionParameter()geosapi::GSAbstractDataStore$setConnectionParameter()geosapi::GSAbstractDataStore$setConnectionParameters()
new()initializes a shapefile data store
GSShapefileDataStore$new(
xml = NULL,
name = NULL,
description = "",
enabled = TRUE,
url
)xmlan object of class xml_node-class to create object from XML
namecoverage store name
descriptioncoverage store description
enabledwhether the store should be enabled or not. Default is TRUE
urlurl
setUrl()Set the spatial files data URL
GSShapefileDataStore$setUrl(url)urlurl
setCharset()Set the charset used for DBF file.
GSShapefileDataStore$setCharset(charset = "ISO-8859-1")charsetcharset. Default value is 'ISO-8859-1'
setCreateSpatialIndex()Set the 'Create Spatial Index' option
GSShapefileDataStore$setCreateSpatialIndex(create = TRUE)createcreate. Default is TRUE
setMemoryMappedBuffer()Set the 'Memory Mapped Buffer' option
GSShapefileDataStore$setMemoryMappedBuffer(buffer = FALSE)bufferbuffer. Default is FALSE
setCacheReuseMemoryMaps()Set the 'Cache & Reuse Memory Maps' option.
GSShapefileDataStore$setCacheReuseMemoryMaps(maps = TRUE)mapsmaps. Default is TRUE
setDefautConnectionParameters()Set default connection parameters
GSShapefileDataStore$setDefautConnectionParameters()
clone()The objects of this class are cloneable with this method.
GSShapefileDataStore$clone(deep = FALSE)deepWhether to make a deep clone.
GSShapefileDataStore$new(name = "ds", description = "des",
enabled = TRUE, url = "file://data/shape.shp")
Run the code above in your browser using DataLab