Identify

Description

Interactively select an sp or raster object and print the data associated with it. i() only accepts a single input point.

Usage

1
i(qmap_obj = NULL, i_idx = 1, loc = NULL)

Arguments

qmap_obj

a qmap object from which to identify features.

i_idx

a numeric value specifying which data layer to identify or a character string indicating the name of the layer. Defaults to 1.

loc

A list with an x and y numeric indicating a location. Default is to interactively get loc value until escaped.

Value

Returns NULL. Identified values are printed to the screen.

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(lake)
qm<-qmap(list(lake,elev,samples))
i(qm,"lake")
i(qm,"samples")
i(qm,2)

## End(Not run)