Apologies, I had the wrong issue.

If anyone should happen to be running R / RStudio from a remotely accessed
simulation cluster or terminal server, be advised that poor graphical
settings on the server can result in the plot appearing incorrectly, but
exporting to .PDF/.EPS correctly.

cheers,
~joe

On Fri, Sep 7, 2012 at 11:33 AM, Joe Eckert <jeckert1@uw.edu> wrote:

> Hi geo-R folks,
>
> I'm trying to make a map comprised of plots derived from two layers: a
> raster layer, and a layer read in from a shapefile.
>
> Unfortunately, shapefiles truncate the bbox to the extent of the
> geometries contained within it.  So while my raster has a beautiful
> (-180,180,-90,90) extent, the SpatialPolygonsDataFrame has a
> (-180,180,-55.9175 83.57027) extent (basically world - polar land).
>
> We're using ggplot to construct the maps, which means when I add the SPDF
> layer, the polygon image becomes distorted along the X-axis as it is
> stretched to meet the bounding box along the y-axes.  I realize that spplot
> and plot handle this issue a little better, but I need some of the finer
> grained control of ggplot for other aspects of the visualization.
>
> So what I'd like to do (I think, if I'm understanding this correctly) is
> change the bbox for the SPDF without changing the relative location of the
> geometries within it.
>
> Would you kindly please point me toward documentation or (even better) a
> code snippet?
>
> Thanks so much,
> ~joe
> (who ever thought freeing one's self from Arc* would be this hard?  really
> appreciate your help thus far though!)
>

	[[alternative HTML version deleted]]

