get.labdata {RArcInfo}R Documentation

Funtion for importing the contents of a LAB file into R

Description

This function reads and imports into R the contents of a polygon labels definition file.

Usage

get.labdata(datadir, coverage, filename="lab.adf")

Arguments

datadir Directory under which iall the coverages and a directory called 'info' are.
coverage The name of the coverage we want to work with
filename The name of the file in the coverage directory that stores the data. By default, called 'lab.adf'.

Value

This function returns a data frame with the next fields (by columns):

LabelUserID The label of the polygon.
PolygonID The polygon related to the label.
Coord1X The X component of the first coordinate.
Coord2X The X component of the second coordinate.
Coord3X The X component of the third coordinate.
Coord1Y The Y component of the first coordinate.
Coord2Y The Y component of the second coordinate.
Coord3Y The Y component of the third coordinate.

References

More information about this kind of data can be found at http://pages.infinit.net/danmo/e00/docs/v7_bin_cover.html.


[Package RArcInfo version 0.4-7 Index]