
I have no idea how to do this. Can you help me?


Coordinator
Feb 13, 2013 at 12:34 PM

Assuming you don't want the cartesian solution with
var dx = Math.Cos(angleInRadians) * lengthInMeter;
var dy = Math.Sin(angleInRadians) * lengthInMeter;
var c = new GeoAPI.Geometries.Coordinate(apoint.X + dx, apoint.Y + dy)
var gf = new NetTopologySuite.Geometries.GeometryFactory();
var line = gf.CreateLinestring(new [] { apoint, c });
here are some formulas.
Hth FObermaier



Thank you very much!

