Skip to content
Prev 29358 / 29559 Next

Unit of parameters in the expandBB argument

On Wed, 28 Feb 2024, Roger Bivand wrote:

            
That is, the *output* units are map units, expandBB are proportions, as 
in:

expBB = function(lim, expand) c(lim[1] - expand[1] * diff(lim), lim[2] + 
expand[2] * diff(lim))

called for example as: xlim <- expBB(bbox[1,], expandBB[c(2,4)]).

Roger