Skip to content
Prev 21249 / 29559 Next

Conversion geographical coodinate in UTM

Dear R FAQ Team :p 

So I have been able to use the readOGR function, could anyone transfer to its maintainer a request to add writeOGR in the "see also" section of help?  
 
Anyway, after having done that for my shapefile, I tried to deal with the points I had to plot on, here is what I tried:
lat    lon
B-40 64.76 -21.59
D-01 66.01 -16.50
E-01 65.32 -14.36
G-04 64.43 -14.90
H-03 64.03 -16.98
M-02 66.10 -22.39
SpatialPoints:
       lat    lon
[1,] 64.76 -21.59
[2,] 66.01 -16.50
[3,] 65.32 -14.36
[4,] 64.43 -14.90
[5,] 64.03 -16.98
[6,] 66.10 -22.39
Coordinate Reference System (CRS) arguments: NA
Erreur dans spTransform(position, CRS("+proj=utm +zone=28 +north +datum=WGS84")) : 
  No transformation possible from NA reference system
What have I missed? 

Benjamin 
 
Le Lundi 30 Juin 2014 16:19 GMT, Barry Rowlingson <b.rowlingson at lancaster.ac.uk> a ?crit: