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
xmlObjan object of class XMLInternalNode-class to initialize from XML
capabilitiesobject of class WFSCapabilities
versionservice version
loggerlogger
Method getDescription()
Describes a feature type
Returns
a list of WFSFeatureTypeElement or data.frame
Method getGeometryField()
Get geometry field
Returns
object of class character representing the geometry field
Method getGeometryType()
Get geometry type
Returns
object of class character representing the geometry type
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
validateWhether features have to be validated vs. the feature type description. Default is
TRUEoutputFormatoutput format
pagingpaging. Default is
FALSEpaging_lengthnumber of features to request per page. Default is 1000
parallelwhether to get features using parallel multicore strategy. Default is
FALSEparallel_handlerHandler function to parallelize the code. eg mclapply
cloptional cluster object for parallel cluster approaches using eg.
parallel::makeClustertypeNamethe name of the feature type