GSShapefileDataStore | R Documentation |
Geoserver REST API ShapeFileDataStore
Geoserver REST API ShapeFileDataStore
R6Class
object.
Object of R6Class
for modelling a GeoServer Shapefile dataStore
geosapi::GSRESTResource
-> geosapi::GSAbstractStore
-> geosapi::GSAbstractDataStore
-> GSShapefileDataStore
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 )
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
url
url
setUrl()
Set the spatial files data URL
GSShapefileDataStore$setUrl(url)
url
url
setCharset()
Set the charset used for DBF file.
GSShapefileDataStore$setCharset(charset = "ISO-8859-1")
charset
charset. Default value is 'ISO-8859-1'
setCreateSpatialIndex()
Set the 'Create Spatial Index' option
GSShapefileDataStore$setCreateSpatialIndex(create = TRUE)
create
create. Default is TRUE
setMemoryMappedBuffer()
Set the 'Memory Mapped Buffer' option
GSShapefileDataStore$setMemoryMappedBuffer(buffer = FALSE)
buffer
buffer. Default is FALSE
setCacheReuseMemoryMaps()
Set the 'Cache & Reuse Memory Maps' option.
GSShapefileDataStore$setCacheReuseMemoryMaps(maps = TRUE)
maps
maps. 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)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
GSShapefileDataStore$new(name = "ds", description = "des",
enabled = TRUE, url = "file://data/shape.shp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.