Geoserver REST API ShapeFileDataStore
Geoserver REST API ShapeFileDataStore
Super classes
geosapi::GSRESTResource
-> geosapi::GSAbstractStore
-> geosapi::GSAbstractDataStore
-> GSShapefileDataStore
Methods
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()
Method new()
initializes a shapefile data store
Usage
GSShapefileDataStore$new(
xml = NULL,
name = NULL,
description = "",
enabled = TRUE,
url
)
Examples
GSShapefileDataStore$new(name = "ds", description = "des",
enabled = TRUE, url = "file://data/shape.shp")
#> <GSShapefileDataStore>
#> ....|-- name: ds
#> ....|-- enabled: TRUE
#> ....|-- description: des
#> ....|-- type: Shapefile
#> ....|-- connectionParameters <GSRESTEntrySet>
#> ........|-- entryset
#> ............|-- url: file://data/shape.shp
#> ............|-- charset: ISO-8859-1
#> ............|-- create spatial index: TRUE
#> ............|-- memory mapped buffer: FALSE
#> ............|-- cache and reuse memory maps: TRUE