Description Usage Arguments Details Value Author(s) See Also
Creates a list of tiles ("SpatialPolygons"
) for a given spatial domain i.e. extent. Input can be any object of class "Spatial"
or "GDALobj"
.
1 2 3 4 5 6 | ## S4 method for signature 'Spatial'
getSpatialTiles(obj, block.x, block.y = block.x,
overlap.percent = 0, limit.bbox = TRUE, return.SpatialPolygons = TRUE)
## S4 method for signature 'ANY'
getSpatialTiles(obj, block.x, block.y = block.x,
overlap.percent = 0, limit.bbox = TRUE, return.SpatialPolygons = FALSE)
|
obj |
object of class |
block.x |
numeric; size of block in x-direction (meters or corresponding mapping units) |
block.y |
numeric; size of block in y-direction (meters or corresponding mapping units) |
overlap.percent |
numeric; percentage overlap (must be a positive number) |
limit.bbox |
logical; specifies whether to limit the extent of tiles to the bounding box only |
return.SpatialPolygons |
logical; specifies whether to return a list of tiles as |
The first output tile starts by default at the lower left corner. getSpatialTiles-method
can only be used to generate regular tiles.
Returns a list of tiles either as a list of "SpatialPolygons"
or a data frame with with bounding box coordinates.
Tomislav Hengl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.