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=1))
)
projection(nldRot)
map.new(nldRot)
text(nldRot,labels=nldRot$name)
scaleBar(nldRot, 'topright')
insetMap(nldRot, 'bottomright',map=world)
}
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)
Run the code above in your browser using DataLab