[R-sig-Geo] CRS parameters

Laurent Dubroca dubroca at szn.it
Fri Sep 1 12:46:21 CEST 2006

Hello list,

I use spmaps 0.1-4+gdal 1.3.1+proj 4.4.9 with R 2.3.1.
Starting with the example of the spmaps package and the 
map2SpatialPolygons function, it seems that the proj4strings parameters 
of this line are not correct :

nor_coast_poly_sp <- map2SpatialPolygons(nor_coast_poly, IDs=IDs, 
proj4string=CRS("+proj=longlat +datum=wgs84"))

The message returned is

"Erreur dans CRS("+proj=longlat +datum=wgs84") :
         unknown elliptical parameter name"

With the proj -l command I cannot find the projection called "latlong".

What's wrong ? Does my installed version of gdal or proj aren't correct ?


Laurent Dubroca -  laurent.dubroca at szn.it
Phone/FAX: 0039 081 5833 247/224
  Stazione Zoologica Anton Dohrn
Villa Comunale  80121 Naples Italy

More information about the R-sig-Geo mailing list