View source: R/buildSpatialObject.R
buildSpatialObject | R Documentation |
A function to build a spatial object for a given factsheet
buildSpatialObject( item, lang, host, domain, wfs, cleanGeom = TRUE, cleanStrategy = "BUFFER", unionStrategy = "bbox", verbose = TRUE )
item |
an object of class "character" giving the factsheet id |
lang |
the language in which the factsheet is available |
host |
an object of class "character" giving the host |
domain |
an object of class "character" giving the FIRMS domain |
wfs |
an object of class "WFSClient" from ows4R package |
cleanGeom |
an object of class "logical" indicating if geometries have to be validated with cleangeo. Default value is TRUE. |
cleanStrategy |
an object of class "character". Default is "BUFFER" |
unionStrategy |
an object of class "character". Accepted values are "union" (pure geoprocessing union - time consuming -), "bbox" (strategy to estimate the largest spatial object to retain, by comparing envelopes, and results much less time consuming). Default value is "bbox". |
verbose |
an object of class "logical" either logs have to be printed out. Default value is TRUE. |
an object of class "SpatialPolygonsDataFrame"
end-user function
Emmanuel Blondel, emmanuel.blondel1@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.