# Converting from GM_PRJ_GEO to GM_PRJ_UTM

fxrazno1
Global Mapper UserPosts:

**33**Trusted User
Hi

I am trying to convert a coodinate from GM_PRJ_GEO in ARC_DEGREE to

GM_PRJ_UTM in METERS and I am getting an error.

Can you give me an example ?

The parameters for the new projection (UTM) are:

mProjSys=GM_PRJ_UTM

mDatum=GM_DATUM_WGS_84

mUnit =GM_PRJ_UNIT_METERS

Thanks

Raz

I am trying to convert a coodinate from GM_PRJ_GEO in ARC_DEGREE to

GM_PRJ_UTM in METERS and I am getting an error.

Can you give me an example ?

The parameters for the new projection (UTM) are:

mProjSys=GM_PRJ_UTM

mDatum=GM_DATUM_WGS_84

mUnit =GM_PRJ_UNIT_METERS

Thanks

Raz

## Comments

119Trusted UserUse

mAttrs[0].mAttr = ZONE;

mAttrs[0].mValue = 30;

17,238Thanks,

Mike

Global Mapper Support

support@globalmapper.com

33Trusted UserWhat if I don't know the UTM zone ? Is there a way to get the UTM zone if you know the lat,lon coordinates ?

17,238utm_zone = ::ceil( ( lon + 180 ) / 6 );

If the latitude is in the southern hemisphere make the zone negative.

Thanks,

Mike

Global Mapper Support

support@globalmapper.com