[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1729
  • Last Modified:

Algorithm to convert Degrees Decimal Minutes to UTM

Can someone send me the Algorithm to convert Degrees Decimal Minutes to UTM? I would rather it in Perl, but any language will do.  Thanks for any help,

guidway
0
guidway
Asked:
guidway
1 Solution
 
hesCommented:
See if any of this helps

http://www.gpsy.com/gpsinfo/geotoutm/
0
 
ahoffmannCommented:
listening ..
0
 
ozoCommented:
$zone = int(($longitude+180)/6)+1;
my $l = $longitude -$zone*6 +183;
$easting = cos($latitude*3.1415926535/180)*$l*10000/90+500;
$northing = 10000*$latitude/90;
0
 
guidwayAuthor Commented:
Thanks for the help!  That is what I've been looking for.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now