Coerce a tile plan to polygons
Source:R/tilePlan.R, R/freeTilePlan.R, R/pointTilePlan.R, and 1 more
as.polygons.RdConvert a tilePlan-inheriting object to a SpatVector of rectangle
polygons, one per tile, with a tile attribute column holding the tile
index. Padding is included in the polygon bounds.
Accelerated vectorized methods are provided for spatialTilePlan,
freeTilePlan, and pointTilePlan. All other tilePlan subclasses fall
back to extracting bounds via x[].
Usage
# S4 method for class 'tilePlan'
as.polygons(x, ...)
# S4 method for class 'freeTilePlan'
as.polygons(x, ...)
# S4 method for class 'pointTilePlan'
as.polygons(x, ...)
# S4 method for class 'spatialTilePlan'
as.polygons(x, ...)See also
Other tile* methods:
arith,
bracket,
centroids(),
dim(),
dollar,
double_bracket,
ext(),
intersect(),
plot()