From 63f2b4871f32610729b68d0da03bbffe2a745f51 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 23 Jul 2015 18:05:26 +0000 Subject: [PATCH] #2577, ST_Project() doc update git-svn-id: http://svn.osgeo.org/postgis/trunk@13846 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_measure.xml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/doc/reference_measure.xml b/doc/reference_measure.xml index 8bff95d98..b87c9bbdb 100644 --- a/doc/reference_measure.xml +++ b/doc/reference_measure.xml @@ -3615,7 +3615,7 @@ SELECT ST_AsEWKT(ST_PointOnSurface(ST_GeomFromEWKT('LINESTRING(0 5 1, 0 0 1, 0 1 Description - Returns a POINT projected from a start point using an azimuth (bearing) measured in radians and distance measured in meters. This is also called a direct geodesic problem. + Returns a POINT projected along a geodesic from a start point using an azimuth (bearing) measured in radians and distance measured in meters. This is also called a direct geodesic problem. The azimuth is sometimes called the heading or the bearing in navigation. It is measured relative to true north (azimuth zero). East is azimuth 90 (π/2), south is azimuth 180 (π), west is azimuth 270 (3π/2). The distance is given in meters. @@ -3627,25 +3627,14 @@ SELECT ST_AsEWKT(ST_PointOnSurface(ST_GeomFromEWKT('LINESTRING(0 5 1, 0 0 1, 0 1 Example: Using degrees - projected point 100,000 meters and bearing 45 degrees SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, radians(45.0))); - st_astext - st_astext --------------------------------------------- - POINT(0.635231029125537 0.639472334729198) -(1 row) - - - - - Example: Using radians - projected point 100,000 meters and bearing pi/4 radians (45 degrees) - SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, pi()/4)); st_astext -------------------------------------------- POINT(0.635231029125537 0.639472334729198) (1 row) - + - + See Also -- 2.50.1