labels: Map Labels

Description Usage Format Source Examples

Description

Map labels in the vicinity of Idaho National Laboratory, eastern Idaho.

Usage

1

Format

A SpatialPointsDataFrame of the sp package with 50 features and 7 variables:

labels

text to be written

cex

character expansion factor

col, font

color and font to be used, respectively.

srt

string rotation in degrees.

halo

if true, a "halo" is printed around text.

map

map index

See projection dataset for coordinate reference system information.

Source

U.S. Geological Survey Idaho National Laboratory Project Office

Examples

1
2
3
4
5
inlmisc::PlotMap(labels, dms.tick = TRUE)
lab <- labels[labels$map == 1L, names(labels) != "map"]
for (i in seq_along(lab))
  do.call(raster::text, c(lab[i, ], as.list(lab@data[i, ])))
str(labels@data)

inldata documentation built on Sept. 17, 2020, 5:08 p.m.