New answers tagged


ST_Linestring expects arguments in (Longitude, Latitude) so just switch the coordinates around.


I would much rather suggest doing it manually since the math is simple. This will be much faster than using so many potentially complex methods. public static Point createPointInDistanceAtAngle(Point anchor, double distance, double angle) { double dx = distance * Math.cos(Math.toRadians(angle)); double dy = ...

Top 50 recent answers are included