[R-sig-Geo] Error message when projecting a raster with projectRaster

Robert J. Hijmans r.hijmans at gmail.com
Mon Feb 3 18:58:37 CET 2014


Manuel,
This error goes away after you update package rgdal.
Robert

On Mon, Feb 3, 2014 at 9:28 AM, Manuel Spínola <mspinola10 at gmail.com> wrote:
> Dear list memebers,
>
> I am trying to project a raster but I got the following error:
>
> newProj <- "+proj=tmerc +lon_0=-84 +lat_0=0 +x_0=500000 +k=0.9999
> +datum=WGS84"
>
>> bio1_acpc = raster("bio1_acpc.asc")
>> projection(bio1_acpc) = "+proj=longlat +datum=WGS84"
>> bio1_acpc_p <- projectRaster(bio1_acpc, crs=newProj)
> Error in projectExtent(from, projto) :
>   could not find function "rawTransform"
>
> Thank you very much
>
>
> --
> *Manuel Spínola, Ph.D.*
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspinola at una.ac.cr
> mspinola10 at gmail.com
> Teléfono: (506) 2277-3598
> Fax: (506) 2237-7036
> Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list