Caculate point 50 miles away (North, 45% NE, 45% SW)
问题 In PostGIS, Is there a way to calculate another point 50 miles away in different directions? Given a point, ('New York',-74.00,40.71), how do I calculate the following points? 1) 50 miles directly North 2) 50 miles 45% North East 4) 50 miles directly East 3) 50 miles 45% South West Update: It seems http://postgis.net/docs/ST_Project.html may be the solution. ST_Project('POINT(-74.00 40.71)'::geography, 80467.2, radians(45.0)) However, I need to reference the database record to do it. not hard