Description Usage Arguments Value Note See Also Examples
This function let you retrieve the spatial extent as a Extent-class object. With the additional functions xmin, xmax, ymin and ymax particular information about the extent can be retrieved directly from the scidbst object. Using the "<-" operator a spatial extent can be set for a scidb array or it replaces the spatial extent of a scidbst array with an Extent-class object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## S4 method for signature 'scidbst'
extent(x)
## S4 replacement method for signature 'scidbst,Extent'
extent(x) <- value
## S4 replacement method for signature 'scidb,Extent'
extent(x) <- value
## S4 method for signature 'scidbst'
xmin(x)
## S4 method for signature 'scidbst'
ymin(x)
## S4 method for signature 'scidbst'
xmax(x)
## S4 method for signature 'scidbst'
ymax(x)
|
x |
scidb or scidbst array |
value |
An object of class Extent |
Extent-class
object or scidbst
object
Setting the extent with extent<-
has an informative meaning. By setting the extent on a scidbst object the
extent will be replaced, but NO cropping or subsetting will be performed.
1 2 3 4 5 6 7 8 9 | ## Not run:
arr = scidbst("sp_ref_array")
extent(arr)
xmin(arr)
xmax(arr)
ymin(arr)
ymax(arr)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.