I need to project my long/lat data over different utm zones in R as my data spans from Gabon to Central African Republic. The code I have written to project to zone 34 is as below:
library(rgdal)
EleSubSet$Xlong <- project(cbind(EleSubSet$location.long, EleSubSet$location.lat),
"+proj=utm +zone=34 = south +ellps=WGS84") [,1]
EleSubSet$Xlat <- project(cbind(EleSubSet$location.long, EleSubSet$location.lat),
"+proj=utm + zone=34 = south +ellps=WGS84") [,2]
I presume I cannot simply add on another utm zone? e.g.
EleSubSet$Xlong <- project(cbind(EleSubSet$location.long, EleSubSet$location.lat),
"+proj=utm +zone=33 + 34 = south +ellps=WGS84") [,1]
Anyone know if anything can be done?