powered by
boost creates a BoostObject from a sfc or VeloxRaster object.
boost
boost(x, ...)# S3 method for sfc_MULTIPOLYGON boost(x, ...)# S3 method for sfc_POLYGON boost(x, ...)# S3 method for sfc_MULTILINESTRING boost(x, ...)# S3 method for sfc_LINESTRING boost(x, ...)# S3 method for sfc_MULTIPOINT boost(x, ...)# S3 method for sfc_POINT boost(x, ...)# S3 method for VeloxRaster boost(x, box = FALSE, ...)
# S3 method for sfc_MULTIPOLYGON boost(x, ...)
# S3 method for sfc_POLYGON boost(x, ...)
# S3 method for sfc_MULTILINESTRING boost(x, ...)
# S3 method for sfc_LINESTRING boost(x, ...)
# S3 method for sfc_MULTIPOINT boost(x, ...)
# S3 method for sfc_POINT boost(x, ...)
# S3 method for VeloxRaster boost(x, box = FALSE, ...)
An sfc object.
Currently not used.
Boolean. If TRUE and x is a VeloxRaster object, returns a BoxGrid instead of a PointGrid.
TRUE
x
VeloxRaster
A BoostObject object.
# NOT RUN { ## Make sfc_POINT sfc <- sf::st_sfc(sf::st_point(c(0,1))) ## Cast to BoostPoints boostPoints <- boost(sfc) # }
Run the code above in your browser using DataLab