3.66667

3.7 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 5.42 KB File ID: #8188
image thumbnail

Conversion of UTM Coordinates to Spherical Coordinates

by Gabriel Ruiz

 

02 Aug 2005 (Updated 05 Sep 2006)

Little GUI allows you convert UTM coordinates to spherical coordinates.

| Watch this File

File Information
Description

0. Syntax:[long,lonm,lons,latg,latm,lats,Direction] = UTMIP(instruccion)

1. With this little routine, you can get the transformation or the conversion of UTM coordinates to spherical coordinates, you can choose different ellipsoids to execute the conversion.

2. Inputs:
x, y, utm zone, and hemisphere.
 
3. Outputs:
Latitude, Longitude and the reference of the Longitude.

4. Notes:
It's only necessary to run the function.
I designed the window in order to display in a screen of 1024 x 768.
This is the "inverse problem" of Spherical coordinates to UTM coordinates. You can also see the routine:
Conversion of Spherical Coordinates to UTM Coordinates, on Matlab Central -File Exchange, ID File: 8043.

5. Referents:
   Page of Gabriel Ortiz.

Author: Gabriel Ruiz Martinez, Civil Engineer .
If you'll detect any mistake or bug, may you communicate me?
%September 2006
%v1.2.
%Modifications:
I added the lines 305 and 308.

Acknowledgements

Conversion Of Spherical Coordinates To Utm Coordinates inspired this file.

This file inspired Utm2deg.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
coordinates(2), ellipsoids, latitude, longitude, utm
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
23 Jun 2009 Riccardo

you should add, that deg2dms is needed...

13 Oct 2006 John Scotts  
22 Aug 2006 Sang-Ho Yun

I just found a discrepancy between UTM and UTMIP. I tried the following pair.

Lat: 56d 16' 35.46" N
Lon: 3d 23' 46.82" E

UTM Zone: 31
UTM coord: 6237064.70 N, 524543.14 E

It looks like the UTM seems working correctly, but UTMIP produced opposite sign for longitute coordinate. For this test, I used "International 1909" datum. Please let me know if I am missing something here. Thank you!

11 Nov 2005 Daniel LÓPEZ SÁNCHEZ  
Updates
17 Aug 2005

Add an ellipsoid

05 Sep 2006

In order to solve the problem that Sang-Ho Yun found, I changed somes lines. Thanks Sang-Ho Yun.

Contact us