7.11 Here are the original functions that calculate the easting and northing grid coordinates. Properties are: Grid coordinates are based on geodetic coordinates on WGS84 datum. • UTM zone number is automatically extracted from the value of the longitude. You are required to modify and test the two functions to accommodate the following requirements. a. Implement Nahrawn (UAE) UTM grid. Properties: • Ellipsoid is Clarke 1886 All other properties follow standard UTM system. b. Can you use the modified functions for Nahrwan (Oman). Publie Punction Easting (Lat A Double, ton As Double) As Double Die PL As Double PL Application. Morksheet Pinctions Wellipsoid geometry Dias, bb A Doble 136378137 & ellipsoidensa bb-6356752.3142 SE ellipsoidinetata bis quared, Pated Double eccllquared - 1. bbbban a first eccentelty squared U Pojection parameters Peale factor Die De Double - 0.999€ "False Besting and Yalne Marthing Die Plating, Valothing Double Palestin - 500000 Falselorthingh - 08 Dis Meridian longitude of origin Din Longorigin, Long Doble Din T. C, A, An Double Di UTMting, thiaga Double Make sure the longitude is between 190.00 - 17. Die Longtemple Double Long Temp on 18011-Incon 100) / 3500 2007-2008 380.00 .. 79.5. convertist and long to tada Di Latad, LongRad Double Latlad - Lac 15/160 Longad - Longtemp. 100 compute the UTM tone from the latitude and longitude Di Bonellumber. Integet Tonember - Int (LongTemp + 18081/1 3 puts origin in sale of me Longoriginber - ) - 103 Longoriginad - Lorigin. P1800
Primeared fire care Hoteccare sitt intad) 1 - Tanathadits Cerise Squared cos con Cositalon - Long * - . - que-seekredesquad - Seedquared cesorted equaret 25€) 38.3 esquared eceted 24. decesured gured 1024) Bina. 5. echquaredecesquared 25€ 45 eeqarededores/1024) Sin 4. Lattad - 135 • cerede 3072) - Latad) UPMEsting - T. 1.2.5 AAAAA / 120) Planting Lasting - Ulting End Tunction 1.11 - 5 Bublle function Nothing to see. Do tebe Di Pole - Application Workshetration wallpaald geometry Din abs Double 4 lipides bb56752.3142554 ellipsoid sentit ais Discrede chris Double cequered - 11 - basa eccentrissy squared U Projection meters scate factor Di Ko A Double 10 - 0.9996 Yalne tasting and raise Song Di Tatin. Tatortile Tointing - 500000 Talothing "Prime Mingitude otoriga) Din Longorigin, Longorige DAHA Double Di Unttesting. Under things Deble sure the longitude is between 10.00 - 17. Din Lengtemps Duble Longiunton 1906-Imetas 18/380-380.00.. 199.9 convertint and long to rade bin tatad, Longa Doble Lati - Lat . DE 2004 Longhia - Long Temp.1804 "compute the one from the lattode and longitude Din tone nteger Lonellumber - Int (tongeng 180/1 pota stigin in siste of one Longorigin (onber - 11 - 103 Longoristas - Longorigin. 10
eccPrimeSquared - (eccsquared) / (1 - eccsquared) Naa / Sqr(1 - eccSquared . Sin (LatRad). Sin (LatRad)) T - Tan (LatRad). Tan (LatRad) C = eccPrime Squared Cos (LatRad). Con (LatRad) A - Cos (Latrad). (LongRad - Longoriginad) N-aa. 16 - eceSquared/ 4-3. eceSquared eccsquared/ 64 - 5 eceSquared ocesquaredecesquared / 256) LatRad (3. eccsquared/ 8+3.ecesquared eccsquared / 32 45. eccSquaredecesquaredecesquared/ 1024). Sin (2. LatRad) + (15 eceSquaredecesquared / 256 + 45. eccSquaredecesquaredecesquared / 1024). Sin (4. LatRad) - 135 eccSquared eccSquaredecesquared/3072) Sin (6. LatRad)) UTMNorthing - ko (M+ N Tan (LatRad). ( AA/ 2+ (5-T9.C + 4.C.C.AA. A / 24+ (61 - 58.T.T.T. 600.C - 330 • eccPrimeSquared).A.A.A.A AA / 720) ) + FalseNorthing Northing - UTMNorthing End Function
7.11 Here are the original functions that calculate the easting and northing grid coordinates. Properties are: Grid coor
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
7.11 Here are the original functions that calculate the easting and northing grid coordinates. Properties are: Grid coor
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!