db.digit {RGeostats} | 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 containing two items:

x The array containing the abscissae of the digitized points

y The array containing the ordinates of the digitized points

[Package *RGeostats* version 11.0.6 Index]