]> granicus.if.org Git - postgis/commitdiff
#2577, ST_Project() doc update
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Jul 2015 18:05:26 +0000 (18:05 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Jul 2015 18:05:26 +0000 (18:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13846 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_measure.xml

index 8bff95d981674c5c20ae8540974823b01f2e9818..b87c9bbdbd860fbd532e35eeeec46c716fee5c8b 100644 (file)
@@ -3615,7 +3615,7 @@ SELECT ST_AsEWKT(ST_PointOnSurface(ST_GeomFromEWKT('LINESTRING(0 5 1, 0 0 1, 0 1
                  <refsection>
                        <title>Description</title>
 
-                       <para>Returns a <varname>POINT</varname> 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.</para>
+                       <para>Returns a <varname>POINT</varname> 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.</para>
                        <para>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 (&#x03C0;/2), south is azimuth 180 (&#x03C0;), west is azimuth 270 (3&#x03C0;/2).</para>
                        <para>The distance is given in meters.</para>
                        
@@ -3627,25 +3627,14 @@ SELECT ST_AsEWKT(ST_PointOnSurface(ST_GeomFromEWKT('LINESTRING(0 5 1, 0 0 1, 0 1
                        <title>Example: Using degrees - projected point 100,000 meters and bearing 45 degrees </title>
 
                        <programlisting>SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, radians(45.0)));
-                         st_astext
-                 st_astext
---------------------------------------------
- POINT(0.635231029125537 0.639472334729198)
-(1 row)
-       </programlisting>
-                 </refsection>
-                 
-                 <refsection>
-                       <title>Example: Using radians - projected point 100,000 meters and bearing pi/4 radians (45 degrees) </title>
 
-                       <programlisting>SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, pi()/4));
                  st_astext
 --------------------------------------------
  POINT(0.635231029125537 0.639472334729198)
 (1 row)
-       </programlisting>
+      </programlisting>
                  </refsection>
-
+                 
                  <refsection>
                        <title>See Also</title>