Example #1
0
        public void ConvertToEtrsTm35Fin()
        {
            // The coordinates are taken from this example: http://docs.jhs-suositukset.fi/jhs-suositukset/JHS197_liite3/JHS197_liite3.html

            var degrees = new Etrs89Point(60.3851068722, 19.84813676944);
            var meters  = Etrs89EtrsTm35FinConverter.Instance.Convert(degrees);

            Assert.AreEqual(6715706.37708, meters.Northing, 0.00001);
            Assert.AreEqual(106256.35961, meters.Easting, 0.00001);
        }
 /// <summary>
 /// Converts the given ETRS-89 point to an ETRS-TM35FIN point.
 /// </summary>
 public static EtrsTm35FinPoint ConvertToEtrsTm35Fin(Etrs89Point source)
 {
     return(Etrs89EtrsTm35FinConverter.Instance.Convert(source));
 }