db.digit {RGeoS}R Documentation

Get the Point

Description

Digitize a point and return its coordinates

Usage

db.digit(db=NA, pos.x=1, pos.y=2, ref=NA, flag.loop=TRUE,must.noproj=TRUE)

Arguments

db

If this db-class structure is provided, the information of closest sample is printed out

pos.x

Gives the rank of the coordinate used on the abscissae axis.

pos.y

Gives the rank of the coordinate used on the ordinate axis.

ref

Vector (of space dimension) which gives the indices of the reference corner point. The extracted plane contains the reference corner point.

flag.loop

When TRUE, this function performs a loop for digitizing several points. The different buttons of the mouse allow interrupting the digitization loops.

must.noproj

When TRUE and if a projection is active, the digitized polygon is not converted back to the original reference system: it is kept in the projected system.

Value

A list of digitized points, constituted of a series of digitized point references. Each point is characterized byt its 2-D coordinates and the rank in the input file (if provided).

See Also

db-class


[Package RGeoS version 9.1.1 Index]