# NOT RUN {
omerc(c(10,50), angle=c(0,45,80))
data('netherlands')
if(require('rgdal', quietly=TRUE)){
nldUtm = spTransform(nldCities,
omerc(nldCities, angle=0))
projection(nldUtm)
map.new(nldUtm)
text(nldUtm,labels=nldUtm$name)
scaleBar(nldUtm, 'topright')
nldRot = spTransform(nldCities,
omerc(nldCities, angle=seq(25,45,by=5))
)
projection(nldRot)
map.new(nldRot)
text(nldRot,labels=nldRot$name)
scaleBar(nldRot, 'topright')
insetMap(nldRot, 'bottomright',map=world)
}
# }
# NOT RUN {
nldOceaCrs = ocea(nldCities)
nldOcea = spTransform(nldCities, nldOceaCrs)
map.new(nldOcea, buffer=2000)
text(nldOcea,labels=nldOcea$name)
scaleBar(nldOcea, 'topright')
map.new(nldCities)
plot(nldTiles,add=TRUE)
text(nldCities,labels=nldCities$name)
tilesRot = openmap(nldRot)
map.new(nldRot)
plot(tilesRot,add=TRUE)
text(nldRot,labels=nldRot$name)
tilesUtm = openmap(nldUtm)
map.new(nldUtm)
plot(tilesUtm,add=TRUE)
text(nldUtm,labels=nldUtm$name)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab