From: Regina Obe Date: Sat, 9 Apr 2011 06:32:28 +0000 (+0000) Subject: fix url in ST_Azimuth. X-Git-Tag: 2.0.0alpha1~1790 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=831ba5d5c6731677bd668eb8683a6d827f9c341d;p=postgis fix url in ST_Azimuth. git-svn-id: http://svn.osgeo.org/postgis/trunk@7012 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_measure.xml b/doc/reference_measure.xml index c3ac1b3c3..b68b58cbc 100644 --- a/doc/reference_measure.xml +++ b/doc/reference_measure.xml @@ -748,16 +748,16 @@ SELECT ST_Area(the_geog)/POWER(0.3048,2) As sqft_spheroid, ST_Area(the_geog,fal value is in radians. Angle is computed clockwise from down-to-up: on the clock: 12=0; 3=PI/2; 6=PI; 9=3PI/4 The Azimuth is mathematical concept defined as the angle, in this case measured in radian, between a reference plane - and a point + and a point. Availability: 1.1.0 Azimuth is especially useful in conjunction with ST_Translate for shifting an object along its perpendicular axis. See - upgis_lineshift Plpgsqlfunctions PostGIS wiki section for example of this. + upgis_lineshift Plpgsqlfunctions PostGIS wiki section for example of this. Examples - --Azimuth in degrees + Azimuth in degrees SELECT ST_Azimuth(ST_Point(25,45), ST_Point(75,100))/(2*pi())*360 as degAz, ST_Azimuth(ST_Point(75,100), ST_Point(25,45))/(2*pi())*360 As degAzrev; @@ -775,7 +775,8 @@ SELECT ST_Azimuth(ST_Point(25,45), ST_Point(75,100))/(2*pi())*360 as degAz, - degAz is curve shown with horizontal and points + degAz is path to travel (azimuth), horizontal line (which starts at the start point and ends where we want the end point to fall) + and points (start point: 25,45 is in green) @@ -784,7 +785,8 @@ SELECT ST_Azimuth(ST_Point(25,45), ST_Point(75,100))/(2*pi())*360 as degAz, - degAzrev is azimuth curve shown with horizontal and points + degAzrev is azimuth curve shown, horizontal line (which starts at the start point and ends where we want the end point to fall) + and points (start point: 75,100 is in green)