GIS :: Afstand :: Vincenty

GIS :: Afstand :: Vincenty Perl-module bevat THADDEUS VININIËNTY-afstandsberekeningen.
Download nu

GIS :: Afstand :: Vincenty Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Aran Clary Deltac
  • Uitgever website:
  • http://search.cpan.org/~bluefeet/GIS-Distance-0.01001/lib/GIS/Distance/Polar.pm

GIS :: Afstand :: Vincenty Tags


GIS :: Afstand :: Vincenty Beschrijving

GIS :: Afstand :: Vincentage Perl-module bevat THADDEUS VININIËNTY-afstandsberekeningen. GIS:: Afstand :: Vinincentage Perl-module bevat Thaddeus Vincenty afstand berekeningen. Synopsis My $ CALC = GIS :: Afstand :: Vincenty-> Nieuw (); Mijn $ afstand = $ calc-> afstand ($ LON1, $ LAT1 => $ LON2, $ LAT2); ten behoeve van de terminaal obsessieve (evenals de echt behoeftige), THADDeus vinincentie bedacht formules voor het berekenen van geodesische afstanden tussen een Paar Latitude / Longtitude-punten op het oppervlak van de aarde, met behulp van een nauwkeurig ellipsuidale model van de formule van de aarde. Inincenty's formule is nauwkeurig tot binnen 0,5 mm, of 0,000015 ", op het ellipsoïde dat wordt gebruikt. Berekeningen op basis van een bolvormig model, zoals de ( Veel eenvoudiger) HAVERSINE, zijn nauwkeurig tot ongeveer 0,3% (wat nog steeds goed genoeg is voor de meeste doeleinden, natuurlijk). Natuurlijk: de nauwkeurigheid die is geciteerd door vinincentie is van toepassing op de theoretische ellipsoïde die wordt gebruikt, die (tot variërende mate) van de Echte Earth Gooooid. Als u bevindt zich in Colorado, 2 km boven MSL, zullen afstanden 0,03% groter zijn. In het Verenigd Koninkrijk, als u de afstand van het einde van het land met meet tot John O 'GROUT gebruikt, zal het 28 m zijn - 0,003% - groter dan het gebruik van de luchtige ellipsoïde, die een beter is Fit voor de UK.Note: deze formule wordt nog steeds beschouwd als alpha-kwaliteit in GIS :: afstand. Het is niet genoeg getest om te worden gebruikt in productie.formula A, B = Major en kleine semiaxes van de ellipsoid f = afvlakken (AB) / A L = LON2 - LON1 U1 = ATAN ((1-F) * TAN (LAT1 )) U2 = ATAN ((1-F) * TAN (LAT2)) SIN_U1 = SIN (U1) COS_U1 = COS (U1) SIN_U2 = SIN (U2) COS_U2 = COS (U2) Lambda = L Lambda_PI = 2PI terwijl ABS ( lambda-lambda_pi)> 1e-12 Sin_Lambda = SIN (Lambda) COS_LAMBDA = COS (Lambda) Sin_sigma = SQRT ((COS_U2 * SIN_LAMBDA) * (COS_U2 * SIN_LAMBDA) + (COS_U1 * SIN_U2-SIN_U1 * COS_U2 * COS_LAMBDA) * (COS_U1 * SIN_U2-SIN_U1 * COS_U2 * COS_LAMBDA)) COS_SIGMA = SIN_U1 * SIN_U2 + COS_U1 * COS_U2 * COS_LAMBDA SIGMA = ATAN2 (SIN_SIGMA, COS_SIGMA) ALPHA = ASIN (COS_U1 * COS_U2 * SIN_LAMBDA / SIN_SIGMA) COS_SQ_ALPHA = COS (ALPHA) * COS ( ALPHA) COS2SIGMA_M = COS_SIGMA - 2 * SIN_U1 * SIN_U2 / COS_SQ_ALPHA CC = F / 16 * COS_SQ_ALPHA * (4 + F * (4-3 * COS_SQ_ALPHA)) LAMBDA_PI = LAMBDA LAMBDA = L + (1-CC) * F * SIN (Alpha) * (Sigma + CC * SIN_SIGMA * (COS2SIGMA_M + CC * COS_SIGMA * (- 1 + 2 * COS2SIGMA_M * COS2SIGMA_M)))} USQ = COS_SQ_ALPHA * (A * AB * B) / (B * B); AA = 1 + USQ / 16384 * (4096 + USQ * (- 768 + USQ * (320-175 * USQ))) BB = USQ / 1024 * (256 + USQ * (- 128 + USQ * (74-47 * USQ))) DELTA_SIGMA = BB * SIN_SIGMA * (COS2SIGMA_M + BB / 4 * (COS_SIGMA * (- 1 + 2 * COS2SIGMA_M * COS2SIGMA_M) - BB / 6 * COS2SIGMA_M * (- 3 + 4 * SIN_SIGMA * SIN_SIGMA) * (- 3 + 4 * COS2SIGMA_M * COS2SIGMA_M))) C = B * AA * (SIGMA-DELTA_SIGMA) Vereisten: · PERL-VEREISTEN: · Perl


GIS :: Afstand :: Vincenty Gerelateerde software