I'm using the rasterVIS package in R to create maps with levelplot, which works fine. But I cannot figure out how to add a spatial scale bar to the maps. Does anyone know?
[GIS] RasterVis levelplot in R with scale bar
levelplotrraster
levelplotrraster
I'm using the rasterVIS package in R to create maps with levelplot, which works fine. But I cannot figure out how to add a spatial scale bar to the maps. Does anyone know?
Best Answer
There is a code example for adding a spatial scalebar in the FAQ section of rasterVis:
https://oscarperpinan.github.io/rastervis/FAQ.html#scalebar