Skip to content

Merging raster does not work properly

2 messages · Alejandro Pietrek, Michael Sumner

#
It seems you have divided the maximum x value by two, rather than the
x extent?  See the source for rotate which shows how to do this, but
it will probably work straight out anyway, (albeit with a warning for
data that's not in the lonlat range):

rotate(r)

Source, this uses internal structures but you could recreate with
functions xmin()/xmax()/ymin()/ymax():
findMethods("rotate")[["Raster"]]



On Wed, Sep 25, 2013 at 9:05 AM, Alejandro Pietrek
<alepietrek at yahoo.com.ar> wrote: