| WFSFeatureType {ows4R} | R Documentation |
WFSFeatureType
Description
WFSFeatureType
WFSFeatureType
Format
R6Class object.
Value
Object of R6Class modelling a WFS feature type
Super class
ows4R::OGCAbstractObject -> WFSFeatureType
Public fields
descriptiondescription
featuresfeatures
Methods
Public 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 getName()
Get feature type name
Usage
WFSFeatureType$getName()
Arguments
objectof class
character
Method getTitle()
Get feature type title
Usage
WFSFeatureType$getTitle()
Arguments
objectof class
character
Method getAbstract()
Get feature type abstract
Usage
WFSFeatureType$getAbstract()
Arguments
objectof class
character
Method getKeywords()
Get feature type keywords
Usage
WFSFeatureType$getKeywords()
Arguments
objectof class
character
Method getDefaultCRS()
Get feature type default CRS
Usage
WFSFeatureType$getDefaultCRS()
Arguments
objectof class
character
Method getBoundingBox()
Get feature type bounding box
Usage
WFSFeatureType$getBoundingBox()
Arguments
objectof class
matrix
Method getDescription()
Describes a feature type
Usage
WFSFeatureType$getDescription(pretty = FALSE)
Arguments
prettypretty whether to return a prettified
data.frame. Default isFALSE
Returns
a list of WFSFeatureTypeElement or data.frame
Method hasGeometry()
Indicates with feature type has a geometry
Usage
WFSFeatureType$hasGeometry()
Returns
object of class logical
Method getGeometryType()
Get geometry type
Usage
WFSFeatureType$getGeometryType()
Returns
object of class character representing the geometry tpe
Method getFeaturesCRS()
Inherits features CRS
Usage
WFSFeatureType$getFeaturesCRS(obj)
Arguments
objfeatures object
Returns
object of class integer
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
Returns
features as object of class sf
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSFeatureType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WFS DescribeFeatureType request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>