Ross,
And please carefully study the answers to your previous queries; and
carefully read the manual.
Yesterday I showed that you can do something like
"g <- gmap('Bolivia', lonlat=TRUE)"
such that gmap returns a longitude/latitude raster.
Robert

On Thu, Feb 28, 2013 at 10:22 AM, Ross Ahmed <rossahmed@googlemail.com>wrote:

> Brilliant, thanks
>
>
> On 28/02/2013 17:52, "Barry Rowlingson" <b.rowlingson@lancaster.ac.uk>
> wrote:
>
> >> projection(myRaster)="+init=epsg:4326"  # lat-long WGS84
> >> pRaster =projectRaster(myRaster, crs=projection(g)) # reproject to
> >the google CRS (no need to type it all in again)
> >> plot(pRaster,add=TRUE) # shazam
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

