R/utils.R
Features_2Collection.Rd
creates a FeatureCollection dump from multiple Feature geojson objects
Features_2Collection( Features_files_vec, bbox_vec = NULL, write_path = NULL, verbose = FALSE )
Features_files_vec | a character vector specifying paths to files (Feature geojson objects) |
---|---|
bbox_vec | either NULL or a numeric vector |
write_path | either NULL or a character string specifying a valid path to a file ( preferably with a .geojson extension ) where the output data will be saved |
verbose | a boolean. If TRUE then information will be printed out in the console |
a FeatureCollection dump
The Features_2Collection function utilizes internally a for-loop. In case of an error set the verbose parameter to TRUE to find out which file leads to this error.