Skip to content
Prev 6760 / 29559 Next

Guerry data: making a package

Thanks, Roger

I was able to sort out my problems with reading the Guerry data/map with 
the help of Stephane Dray.
There is now an R-Forge project, Guerry, containing what we have 
assembled so far.
https://r-forge.r-project.org/projects/guerry/

In the .Rd files for the SpatialPolygonsDataFrames, gfrance & gfrance85 
included in the package, I
note that no PROJ4 information is provided, because we weren't sure 
exactly what to specify.

On my web page, I noted that you had earlier suggested
The projection here seems to be France ED50 EuroLambert, Lambert Conic 
Conformal with parameters set for continental France. Roger says: In 
PROJ.4 this is:

+proj=lcc +lat_1=46.8 +lat_0=46.8
+lon_0=2.337229166666667 +k_0=0.99987742 +x_0=600000 +y_0=2200000
+ellps=intl +units=m 

Given that:

 > slot(gfrance,"proj4string")
CRS arguments: NA

what can I specify to make this more spatial-friendly in a package?  I 
don't know what a lot of
that stuff means, but if I'm creating a package, I'd like it to be 
minimally sufficient for others to
use in different contexts.

-Michael
Roger Bivand wrote: