With spTransform or project in the rgdal package, and the sp package. At a
minimum to do this or for anyone else to help you need to know the datum
against which your longitude and latitude are measured, what each token in
the coordinate strings are ('degree minute second' for example) and the
intended target UTM zone and datum.  Sensible choices can be made from the
coordinate strings you provide, but unless there is a specific target
system it begs the question of whether UTM is a good idea. Possibly you
have a local authority that defines these details and you need to work with
them?

You can split up a string like "(N26 5 21, E39 4 76)" but there's no
indication of how you would input them, and maybe you have the numbers
individually, in which case something like:

lat = 26 + 5/60 + 21/3600
lon = 39 + 4/60 + 76/3600

I don't want to guess at the parameters for the UTM system you might need,
but it's easy enough once you make the right choices:

https://stat.ethz.ch/pipermail/r-sig-geo/2011-August/012444.html

Cheers, Mike.



On Thursday, June 21, 2012, Saman Monfared wrote:

> Hi.
> How can I transform a coordinate system like (N26 5 21, E39 4 76) to
> utm system??
> THanks.
>
> --
>
> Saman Monfared
> Msc Student,
> Department of Statistics, Shiraz University,
> Shiraz 71454, Iran
> Email: Samanmonfared1@gmail.com
>
> Tel: +98 917 5305167
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

