<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 (π/2), south is azimuth 180 (π), west is azimuth 270 (3π/2).</para>
<para>The distance is given in meters.</para>
<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>