Must I change the geoid using UTM projection?

5 vues (au cours des 30 derniers jours)
Javier
Javier le 29 Juin 2011
Hello, I'm working with the UTM projection, I get a kml file from google Earth and I map the geographical coordinates to UTM prjection coordinates, and I think I might have got an accuracy lack,I have used this code according to Matlab mapping toolbox help :
zonaUTM='30S'
utmstruct = defaultm('utm');
utmstruct.zone = zonaUTM;
[ellipsoid,estr] = utmgeoid(zonaUTM);
utmstruct.geoid = ellipsoid;
utmstruct = defaultm(utmstruct);
But after, I have searched in google possible trouble with UTM, and I have found out this link:
And now, I'm bewildered,due to the fact I don't know if I should change the geoid or not. Could anyone help me with?
Thanks,Javier

Réponse acceptée

Rob Comer
Rob Comer le 30 Juin 2011
In order to work with Google Earth, you should specify the WGS 84 ellipsoid in your code by replacing lines 4 and 5 with:
utmstruct.geoid = almanac('earth','wgs84','meters');
if you are working in meters, or:
utmstruct.geoid = almanac('earth','wgs84','kilometers');
if you are working in kilometers, etc.
UTM was designed in the first half of the 20th century, well before artificial satellites made a global system like WGS 84 possible. So different local datums (and their ellipsoids) were used for UTM in different parts of the world. The purpose of the utmgeoid function is to do a geographic look-up of the standard ellipsoid for a given zone. But now UTM is used with datums like NAD 83 and WGS 84, which did not exist when it was originally defined. The utmgeoid function is not relevant in such cases.
The statement in the solution, "MATLAB’s default reference ellipsoid is International, not WGS 84" is misleading. It really should say something like: "defaultm uses the International ellipsoid for UTM when the ellipsoid and zone unspecified." (The International ellipsoid is the default only in this context.)
  1 commentaire
Javier
Javier le 30 Juin 2011
Hi Robert, thank you so much,I can understand,I'm going to change it right now.
thanks again!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by