[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1732
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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