Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+ZRYj8Ag2Cc+MrXJHYiYdTjK_c2WHEv5SZ-t_hndWXpg8WnXA@mail.gmail.com>
Date: 2016-04-25T20:06:59Z
From: Fischbach, Anthony
Subject: coercing marmap bathy object to raster spanning the antimeridian
In-Reply-To: <CA+ZRYj-=jSVfy3eJH9hmaC6Y2mf73XTFn6zqQ+6xyZyQt1QM1A@mail.gmail.com>

Thanks to guidance from Benoit Simon-Bouhet, I see that by setting the
projectRaster flag over to TRUE

   aleu.r.geo<-marmap::as.raster(aleu, over=TRUE)

and using a projection with the longitude of origin set to be 190;  I get
the desired raster that extends across the antimeridian even when projected
to the azimuthal equidistant projection.

   prj.StudyArea <- CRS("+proj=aeqd +lat_0=55 +lon_0=*190"*)
 #Azimuthal Equidistant -170, 55

	[[alternative HTML version deleted]]