WFSFeatureType
WFSFeatureType
Object of R6Class
modelling a WFS feature type
R6Class
object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ows4R::OGCAbstractObject
-> WFSFeatureType
description
description
features
features
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()
new()
Initializes an object of class WFSFeatureType
WFSFeatureType$new(xmlObj, capabilities, version, logger = NULL)
xmlObj
an object of class XMLInternalNode-class to initialize from XML
capabilities
object of class WFSCapabilities
version
service version
logger
logger
getName()
Get feature type name
WFSFeatureType$getName()
object
of class character
getTitle()
Get feature type title
WFSFeatureType$getTitle()
object
of class character
getAbstract()
Get feature type abstract
WFSFeatureType$getAbstract()
object
of class character
getKeywords()
Get feature type keywords
WFSFeatureType$getKeywords()
object
of class character
getDefaultCRS()
Get feature type default CRS
WFSFeatureType$getDefaultCRS()
object
of class character
getBoundingBox()
Get feature type bounding box
WFSFeatureType$getBoundingBox()
object
of class matrix
getDescription()
Describes a feature type
WFSFeatureType$getDescription(pretty = FALSE)
pretty
pretty whether to return a prettified data.frame
. Default is FALSE
a list
of WFSFeatureTypeElement or data.frame
getFeatures()
Get features
WFSFeatureType$getFeatures(
...,
outputFormat = NULL,
paging = FALSE,
paging_length = 1000,
parallel = FALSE,
parallel_handler = NULL,
cl = NULL
)
...
any other parameter to pass to the WFSGetFeature request
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
features as object of class sf
clone()
The objects of this class are cloneable with this method.
WFSFeatureType$clone(deep = FALSE)
deep
Whether to make a deep clone.