Ejemplo n.º 1
0
        public void PointsToPositions()
        {
            GeographyPoint p = TestData.PointG();
            var            s = new SpatialToPositionPipeline();

            p.SendTo(s);
            Assert.AreEqual(1, s.Coordinates.Count);
            Assert.AreEqual(new PositionData(p.Latitude, p.Longitude, p.Z, p.M), s.Coordinates[0]);
            Assert.AreEqual(p.CoordinateSystem, s.CoordinateSystem);
        }