Description Usage Arguments Value Examples
Get WRS-2 path/row numbers for a given spatial object
1 2 3 4 5 6 7 | pathrow_num(x, wrs_type = "2", wrs_mode = "D", as_polys = FALSE)
## S4 method for signature 'Raster'
pathrow_num(x, wrs_type, wrs_mode, as_polys)
## S4 method for signature 'Spatial'
pathrow_num(x, wrs_type, wrs_mode, as_polys)
|
x |
a spatial object |
wrs_type |
1 (for WRS-1) or 2 (for WRS-2) |
wrs_mode |
either 'D' for descending (daytime) or 'A' for ascending |
as_polys |
if FALSE (default) return a data.frame.
If TRUE, return a |
data.frame with path and row as integers, or, if
as_polys=TRUE, a SpatialPolygonsDataFrame
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.