Beispiel #1
0
        internal double GetDistance(LatLngPoint point2)
        {
            var    geod = new Geodesic(); // WGS84
            double s12, azi1, azi2;
            var    a12 = geod.Inverse(Lat, Lng, point2.Lat, point2.Lng, out s12, out azi1, out azi2);

            return(s12);
        }
Beispiel #2
0
 public GISRecord()
 {
     Information             = new Dictionary <string, string>();
     MatchingWECC            = new List <Tuple <GISRecord, double> >();
     MatchingEnergyAnalytics = new List <Tuple <GISRecord, double> >();
     MatchingPlatts          = new List <Tuple <GISRecord, double> >();
     Location = new LatLngPoint();
 }