[R-sig-Geo] problem with function project() in package rgdal
Renaud Lancelot
renaud.lancelot at cirad.fr
Sun Apr 5 12:30:08 CEST 2009
Dear all,
I meet a problem with the function project() in package rgdal:
> library(rgdal)
> data(state)
> res <- project(cbind(state.center$x, state.center$y),
+ "+proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100")
Error in project(cbind(state.center$x, state.center$y), "+proj=lcc
+lat_1=48 +lat_2=33 +lon_0=-100") :
major axis or radius = 0 or not given
> sessionInfo()
R version 2.8.1 Patched (2009-02-17 r47956)
i386-pc-mingw32
locale:
LC_COLLATE=French_France.1252;LC_CTYPE=French_France.1252;LC_MONETARY=French_France.1252;LC_NUMERIC=C;LC_TIME=French_France.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] rgdal_0.6-7 sp_0.9-34 fortunes_1.3-6
loaded via a namespace (and not attached):
[1] grid_2.8.1 lattice_0.17-20 tools_2.8.1
>
Is this a bug?
--
Renaud Lancelot
EDEN Project, coordinator
http://www.eden-fp6project.net/
UMR CIRAD-INRA "Contrôle des maladies animales exotiques et émergentes"
Joint research unit "Control of emerging and exotic animal diseases"
CIRAD
Campus International de Baillarguet TA A-DIR / B
F34398 Montpellier
http://www.cirad.fr http://bluetongue.cirad.fr/
Tel. +33 4 67 59 37 17 - Fax +33 4 67 59 37 95
Secr. +33 4 67 59 37 37 - Cell. +33 6 77 52 08 69
More information about the R-sig-Geo
mailing list