ursaGrid | R Documentation |
Class ursaGrid
is a part of class ursaRaster
. It defines spatial locations of image.
## S3 method for class 'ursaGrid'
print(x, ...)
## S3 method for class 'ursaGrid'
str(object, ...)
## S3 method for class 'ursaGrid'
dim(x)
## S3 method for class 'ursaGrid'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
|
object |
|
row.names |
Ignored. Argument, which is passed to generic function |
optional |
Ignored. Argument, which is passed to generic function |
... |
Further arguments passed to generic functions |
The blank ursaGrid
object is generated by calling of ursa_grid()
without arguments. These approaches provide unified sequence of list's items:
List of 9 $ columns: int NA $ rows : int NA $ resx : num NA $ resy : num NA $ minx : num NA $ maxx : num NA $ miny : num NA $ maxy : num NA $ proj4 : chr "" - attr(*, "class")= chr "ursaGrid" NULL
Object of class ursaGrid
is a list with items:
columns |
Number of columns (samples) |
rows |
Number of rows (lines) |
resx |
Grid cell size by horizontal axis |
resy |
Grid cell size by vertical axis |
minx |
Left margin of boundary box |
maxx |
Right margin of boundary box |
miny |
Bottom margin of boundary box |
maxy |
Top margin of boundary box |
proj4 |
PROJ.4 string |
Function dim
for object of class ursaGrid
returns named vector of length 2: number of rows ("lines"
) and number of elements in a row ("samples"
)
Nikita Platonov platonov@sevin.ru
regrid
, session_grid
session_grid(NULL)
print(methods(class="ursaGrid"))
a <- pixelsize()
g <- ursa_grid(a)
print(is.ursa(a,"grid"))
print(is.ursa(g,"grid"))
print(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.