Skip to content
Prev 1798 / 29559 Next

LL to UTM

Thanks. I looked at spTransform prior to posting but don't understand it.
What I want is to create a function that returns UTM coordinates:

LL2UTM <- function(lat, long, zone = 18) {
...
}

If necessary, zone=18 can be hardcoded in the function and that
arg removed.

I assume that using spTransform its just a one line body. Can
you give me the specific line that it should be?

Thanks.
On 3/6/07, Edzer J. Pebesma <e.pebesma at geo.uu.nl> wrote: