KJB
|
Implementation of the lat/long conversion. More...
#include <l/l_sys_debug.h>
#include <l/l_sys_io.h>
#include <l_cpp/l_exception.h>
#include <l_cpp/l_util.h>
#include <topo_cpp/layer.h>
#include <topo_cpp/LatLong-UTMconversion.h>
#include <algorithm>
#include <functional>
#include <valarray>
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
kjb::TopoFusion | |
this namespace hold structures and code written by Scott Morris. | |
Functions | |
int | kjb::TopoFusion::validate_ellipsoid_table () |
verify that ellipsoid ids correspond to positions in ellipsoid list More... | |
void | kjb::TopoFusion::LLtoUTM (int ReferenceEllipsoid, const double Lat, const double Long, pt &utm) |
convert Latitude and Longitude to Universal Transverse Mercator coordinates More... | |
void | kjb::TopoFusion::utm_to_lat_long (int ReferenceEllipsoid, const pt &utm, double &Lat, double &Long) |
convert Universal Transverse Mercator coordinates to Latitude and Longitude More... | |
void | kjb::TopoFusion::utm_to_lat_long (int ReferenceEllipsoid, const std::vector< pt > &utm_in, std::vector< double > *latitude_out, std::vector< double > *longitude_out) |
this is a fast, vectorized (bulk) version of the single-pt function. More... | |
void | kjb::TopoFusion::UTMtoGPXLL (int ReferenceEllipsoid, const pt &utm, double &Lat, double &Long) |
converts Universal Transverse Mercator coordinates coords to Latitude and Longitude. More... | |
double | kjb::TopoFusion::getNewEasting (const pt &utm, int new_zone) |
return an easting coordinate (from zone) relative to new_zone More... | |
char | kjb::TopoFusion::zone_of (int ReferenceEllipsoid, const pt &p) |
return the proper zone number for the given point More... | |
Implementation of the lat/long conversion.
Reference ellipsoids derived from Peter H. Dana's website, http://www.utexas.edu/depts/grg/gcraft/notes/datum/elist.html
Source: Defense Mapping Agency. 1987b. DMA Technical Report: Supplement to Department of Defense World Geodetic System 1984 Technical Report. Part I and II. Washington, DC: Defense Mapping Agency