db.digit {RGeoS} | R Documentation |
Digitize a point and return its coordinates
db.digit(db=NA, pos.x=1, pos.y=2, ref=NA, flag.loop=TRUE,must.noproj=TRUE)
db |
If this |
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. |
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).