WFSFeatureType
WFSFeatureType
Format
R6Class
object.
Value
Object of R6Class
modelling a WFS feature type
Super class
ows4R::OGCAbstractObject
-> WFSFeatureType
Methods
Inherited methods
ows4R::OGCAbstractObject$ERROR()
ows4R::OGCAbstractObject$INFO()
ows4R::OGCAbstractObject$WARN()
ows4R::OGCAbstractObject$encode()
ows4R::OGCAbstractObject$getClass()
ows4R::OGCAbstractObject$getClassName()
ows4R::OGCAbstractObject$getNamespaceDefinition()
ows4R::OGCAbstractObject$isFieldInheritedFrom()
ows4R::OGCAbstractObject$logger()
ows4R::OGCAbstractObject$print()
Method new()
Initializes an object of class WFSFeatureType
Usage
WFSFeatureType$new(xmlObj, capabilities, version, logger = NULL)
Arguments
xmlObj
an object of class XMLInternalNode-class to initialize from XML
capabilities
object of class WFSCapabilities
version
service version
logger
logger
Method getDescription()
Describes a feature type
Returns
a list
of WFSFeatureTypeElement or data.frame
Method getGeometryType()
Get geometry type
Returns
object of class character representing the geometry tpe
Method getFeatures()
Get features
Usage
WFSFeatureType$getFeatures(
...,
validate = TRUE,
outputFormat = NULL,
paging = FALSE,
paging_length = 1000,
parallel = FALSE,
parallel_handler = NULL,
cl = NULL
)
Arguments
...
any other parameter to pass to the WFSGetFeature request
validate
Whether features have to be validated vs. the feature type description. Default is
TRUE
outputFormat
output format
paging
paging. Default is
FALSE
paging_length
number of features to request per page. Default is 1000
parallel
whether to get features using parallel multicore strategy. Default is
FALSE
parallel_handler
Handler function to parallelize the code. eg mclapply
cl
optional cluster object for parallel cluster approaches using eg.
parallel::makeCluster
typeName
the name of the feature type