UTM to geographical coordinates

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
chaos4u2

UTM to geographical coordinates

#1 Unread post by chaos4u2 »

Hello to all. I would like to ask if anybody has a matlab script to transform UTM to geographical coordinates in a massive file of bathymetry. I really need it. Thank you in advance.

lanerolle
Posts: 157
Joined: Mon Apr 28, 2003 5:12 pm
Location: NOAA

Re: UTM to geographical coordinates

#2 Unread post by lanerolle »

Yes, I found one online and have used it extenstively and its working very well - just simply do a google search with something like "Matlab UTM to longitude conversion" and you will find several routines.

marcelcure
Posts: 9
Joined: Fri Oct 22, 2004 8:32 pm
Location: Numerics Warehouse Ltd.

Re: UTM to geographical coordinates

#3 Unread post by marcelcure »

Hi chaos22u,

I have successfully used this script :- http://www.mathworks.com/matlabcentral/ ... 14-utm2deg developed by Gabriel Ruiz Martinez.

Good luck!

Marcel

zhzhlin
Posts: 6
Joined: Thu Mar 01, 2012 2:28 pm
Location: California Department of Water Resources

Re: UTM to geographical coordinates

#4 Unread post by zhzhlin »

It seems that the new version of Matlab(2012a onward) has a function 'minvtran' to do the job.

chaos4u2

Re: UTM to geographical coordinates

#5 Unread post by chaos4u2 »

Thank you very much to all three. Finally I used the script utm2deg.m and it worked.

I had a few problems with the utmzone, because I had more than a million data, and creating this array in matlab it was complicated. If anybody ones to know, I created by:

s='31 T';
utmzone=repmat(s,1514443,1);

And then by executing the function: [Lat,Lon]=utm2deg(x,y,utmzone);

Post Reply