
Last chance! 50% off unlimited learning
Sale ends in
Map labels in the vicinity of Idaho National Laboratory, eastern Idaho.
labels
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.
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab