mapasp(data, xlim, ylim)
Spatial
mapasp
is used for the aspect argument in lattice plots and spplot; let x = dy/dx, with dy and dx the y- and x-size of the map.
let s = 1/cos((My * pi)/180) with My the y coordinate of the middle of the map (the mean of ylim)
for latlong (longlat) data, mapasp
returns s * x.
for other data, mapasp returns "iso".
lattice