post_process_pbf | R Documentation |
Applies post-processing to the results of process_pbf()
post_process_pbf(x, use_sf = TRUE)
x |
an object as returned by |
use_sf |
default |
If x
is a list object, the results will be row-binded. This is appropriate
if each element in the list is a data.frame
or a feature result with
geometry. However, if each element is not the same, the post-processing
will error. If you cannot be certain that all elements that you will be
post processing will be the same, post-process each list element
independently.
An object of class data.frame
, sf
, or a scalar integer vector.
See process_pbf()
for more details.
tbl_fp <- system.file("small-table.pbf", package = "arcpbf")
fc_fp <- system.file("small-points.pbf", package = "arcpbf")
# table feature collection
fc <- read_pbf(tbl_fp)
head(post_process_pbf(fc))
# feature collection with geometry
fc <- read_pbf(fc_fp)
head(post_process_pbf(fc))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.