public void LocatePointAlongGeogTest() { var geog = "LINESTRING (0 0, 10 0)".GetGeog(); Logger.Log("Input Geom : {0}", geog.ToString()); var returnPoint = "POINT (4.7441999536520428E-05 0)".GetGeog(); var distance = 5; Logger.LogLine("Locating a point at distance of {0} Measure", distance); var locatedPoint = Geography.LocatePointAlongGeog(geog, distance); Logger.Log("Expected point: {0}", returnPoint); Logger.Log("Located point: {0} at distance of {1} Measure", locatedPoint, distance); SqlAssert.IsTrue(locatedPoint.STEquals(returnPoint)); }