Geoserver REST API ShapeFileDataStore
GSShapefileDataStore
Object of R6Class for modelling a GeoServer Shapefile dataStore
R6Class
R6Class object.
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
# NOT RUN { GSShapefileDataStore$new(dataStore="ds", description = "des", enabled = TRUE, url = "file://data/shape.shp") # }
Run the code above in your browser using DataLab