[R-sig-Geo] Convert LL to UTM

Dylan Beaudette dylan.beaudette at gmail.com
Tue Jan 15 01:48:18 CET 2008


or see the Proj4 library and utilities- outside of R

Dylan

On Monday 14 January 2008, Dale Steele wrote:
> require(PBSmapping)
> ?convUL
>
> for example ...
>
> points <- data.frame(cbind(data$idnum, data$long, data$lat, data$var))
> colnames(points) <- c("EID", "X", "Y", "var")
> attr(points, "projection") <- "LL"
>    ## Define as EventData
> points <- as.EventData(points)
>   ## Transform to UTM (Euclidean) coordinates, uses package PBSmapping
>  convUL(points, km=TRUE)
>
> On Jan 14, 2008 6:29 PM, Mauro Sznelwar <sznelwar at uol.com.br> wrote:
> >  How can I do to transform geographic coordinates in UTM, I want to
> > transform a column of latitude and longitude in decimal geographic
> > coordenates to UTM. I know pages that convert  each value, but I want to
> > do a whole variable (column)! Mauro Sznelwar - MSc Student of São Paulo
> > University, Brazil, in the fields of Geoprocessing [[alternative HTML
> > version deleted]]
> >
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341




More information about the R-sig-Geo mailing list