extent-scidbst-methods: Gets and sets the spatial extent of a scidbst array

Description Usage Arguments Value Note See Also Examples

Description

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.

Usage

 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)

Arguments

x

scidb or scidbst array

value

An object of class Extent

Value

Extent-class object or scidbst object

Note

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.

See Also

extent

Examples

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)

flahn/scidbst documentation built on May 16, 2019, 1:15 p.m.