comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Conversion Between UTM and Lat/Lon Coordinates
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Conversion Between UTM and Lat/Lon Coordinates [message #58088] Tue, 15 January 2008 13:23 Go to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
David,

one thing that I know here (and mentioned on the website that APound
gave) is that there are a bunch of different geodes that this
conversion can be done in. As you map your data from UTM to Lat Lon
and then use the maps be sure to use the right one. The frustrating
thing is that in one geographic region the wrong one can look fine and
look horrible in another, it can be truly annoying if it bites you.
Your UTM data should specify which one is being used.

The different one are:
NAD83/WGS84
GRS 80
WGS72
Australian 1965
Krasovsky 1940
International (1924) -Hayford (1909)
Clake 1880
Clarke 1866
Airy 1830
Bessel 1841
Everest 1830


Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
Re: Conversion Between UTM and Lat/Lon Coordinates [message #58089 is a reply to message #58088] Tue, 15 January 2008 11:37 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
APound writes:

> I found a fairly straight forward website on the formulas, but it is a
> bit over my head... Maybe you'll be able to glean something from
> that...
>
> http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM

Thanks for this. Someone just reminded me of those lovely
routines Ben Tupper made available at one time or another.
I'm just trying UTM_to_LL now.

I looked at that web site earlier today and had much the
same reaction you did. Good thing Ben wasn't deterred.
His code looks so similar that I think he must have
cribbed it from here. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Conversion Between UTM and Lat/Lon Coordinates [message #58090 is a reply to message #58089] Tue, 15 January 2008 11:25 Go to previous messageGo to next message
APound is currently offline  APound
Messages: 4
Registered: November 2007
Junior Member
On Jan 15, 11:35 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I have a geoTiff image in a UTM projection. And I have
> the corners and center of the image in UTM coordinates.
> To put political boundaries on this image, I need to
> create the proper UTM map projection space. In order
> to do that, it seems to me, I need to know the center
> of the map projection (or image) in latitude and longitude
> space. (Since MAP_PROJ_INIT seems to require this.)
>
> Therefore, it seems to me I need to convert my UTM
> coordinates to lat/lon coordinates. I have found
> JAVA applets on the Internet to do that, but it would
> be nice to have a little IDL program to do it. Does
> anyone have such a thing? Would you like me to publish
> it on my web page so you can become famous? :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David,

I found a fairly straight forward website on the formulas, but it is a
bit over my head... Maybe you'll be able to glean something from
that...

http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM

Good luck,

APound
Re: Conversion Between UTM and Lat/Lon Coordinates [message #58214 is a reply to message #58089] Wed, 16 January 2008 14:17 Go to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Jan 15, 2:37 pm, David Fanning <n...@dfanning.com> wrote:
> APound writes:
>> I found a fairly straight forward website on the formulas, but it is a
>> bit over my head... Maybe you'll be able to glean something from
>> that...
>
>> http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM
>
> Thanks for this. Someone just reminded me of those lovely
> routines Ben Tupper made available at one time or another.
> I'm just trying UTM_to_LL now.
>
> I looked at that web site earlier today and had much the
> same reaction you did. Good thing Ben wasn't deterred.
> His code looks so similar that I think he must have
> cribbed it from here. :-)
>

Hi David,

Wow - I am impressed someone did it using a spreadsheet. Must be like
trying to walk a dog with two legs - you just have to pull real hard.
The reference cited in my code and on that website (Snyder, J. P.,
1987; Map Projections - A Working Manual. U.S. Geological Survey
Professional Paper 1395, 383 p.) is probably one of the better
purchases I have ever made. I haven't done much map stuff in a long
time, but I fondly remember that great book.

Cheers,
Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Logic problem
Next Topic: Map Projection Problem Persists in Perpetuity

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:51 PDT 2025

Total time taken to generate the page: 0.00569 seconds