[R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Steve Hong
Hi R-sig-geo list, I am very new to spatial stat using R. I have a basic (pretty much to most of you) question. I have data set with Longitude and Latitude columns and want to convert to them UTM Although I found example of it from the previous questions and answers, I am still struggling to

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread milton ruser
Hi Steve How about you also include a code that prepare a data.frame of your data, as well we the minimally reproducible codes that you tryed. It will do the task of helpers more efficient :-) bests milton brazil=toronto On Thu, Jul 9, 2009 at 2:02 PM, Steve Hong seungh...@wisc.edu wrote: Hi

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread milton ruser
By the way, I think you need to provide information about UTM zone and datum as well. bests mc On Thu, Jul 9, 2009 at 2:02 PM, Steve Hong seungh...@wisc.edu wrote: Hi R-sig-geo list, I am very new to spatial stat using R. I have a basic (pretty much to most of you) question. I have data

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Paul Hiemstra
Hi, More in general you need to take a look at the sp-pacakge for Spatial classes in R. Once your data is in these classes you can use spTransform from the rgdal pacakge to perform the projection. spTransform uses the proj4 library. You need to find the so called proj4 strings describing

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Barry Rowlingson
On Thu, Jul 9, 2009 at 9:23 PM, Paul Hiemstrap.hiems...@geo.uu.nl wrote: Hi, More in general you need to take a look at the sp-pacakge for Spatial classes in R. Once your data is in these classes you can use spTransform from the rgdal pacakge to perform the projection. spTransform uses the

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Roger Bivand
On Thu, 9 Jul 2009, Barry Rowlingson wrote: On Thu, Jul 9, 2009 at 9:23 PM, Paul Hiemstrap.hiems...@geo.uu.nl wrote: Hi, More in general you need to take a look at the sp-pacakge for Spatial classes in R. Once your data is in these classes you can use spTransform from the rgdal pacakge to

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Steve Hong
Thank all of you for responding! I will take a look at rgdal. Cheer! Steve - Original Message - From: Roger Bivand roger.biv...@nhh.no Date: Thursday, July 9, 2009 4:04 pm Subject: Re: [R-sig-Geo] convert long/lati to UTM To: Barry Rowlingson b.rowling...@lancaster.ac.uk Cc: Paul

Re: [R-sig-Geo] convert long/lati to UTM

2009-07-09 Thread Stuart Wagenius
at 4:25 PM, Steve Hongseungh...@wisc.edu wrote: Thank all of you for responding! I will take a look at rgdal. Cheer! Steve - Original Message - From: Roger Bivand roger.biv...@nhh.no Date: Thursday, July 9, 2009 4:04 pm Subject: Re: [R-sig-Geo] convert long/lati to UTM To: Barry