netherlands: Data from the Netherlands

netherlandsR Documentation

Data from the Netherlands

Description

Elevation data and map tiles for the Netherlands

Usage

data("netherlands")

Format

nldElev is a raster of elevation nltTiles is a background map meuse classic Meuse river data set from the sp package nldCities is a SpatialPointsDataFrame of city locations.

Details

The inclusion of these datasets is intended to allow the package to build when an internet connection is not present.

Source

See examples.

Examples

#library('mapmiscTerra')
#library('terra')
data("netherlands")
meuse = terra::unwrap(meuse)
nldTiles = terra::unwrap(nldTiles)
nldCities = terra::unwrap(nldCities)

map.new(meuse, buffer=1*1000)
plot(nldTiles,add=TRUE)
points(nldCities, pch=4, col='blue')
text(nldCities,label=nldCities$name, pos=2, col='blue')
points(meuse, pch=15, col=as.integer(meuse$soil))
legend('topleft', fill=1:nlevels(meuse$soil),legend=levels(meuse$soil), inset=0.2, bg='white', title='Soil type')
#insetMap(meuse, "bottomright",map=world)

# location won't be marked on the inset map unless rgdal is available



mapmiscTerra documentation built on July 9, 2023, 3:07 p.m.