]> granicus.if.org Git - postgis/commitdiff
put a note enhancment only availabe if compiled with proj 4.9+ for all geographiclib...
authorRegina Obe <lr@pcorp.us>
Sat, 3 Oct 2015 19:51:17 +0000 (19:51 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 3 Oct 2015 19:51:17 +0000 (19:51 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14180 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_measure.xml

index 1a22cea06ae4bffd1b6a450a9ba971a1d386f70a..1555a0d86045d6ea15727441a7c293703670d8e8 100644 (file)
@@ -669,7 +669,7 @@ SELECT ST_AsEWKT(ST_3DShortestLine(line,pt)) AS shl3d_line_pt,
                  To measure around the faster but less accurate sphere, use ST_Area(geog,false).
                  </para>
                        <para>Enhanced: 2.0.0 - support for 2D polyhedral surfaces was introduced.</para>
-                       <para>Enhanced: 2.2.0 - measurement on spheroid performed with GeographicLib for improved accuracy and robustness.</para>
+                       <para>Enhanced: 2.2.0 - measurement on spheroid performed with GeographicLib for improved accuracy and robustness.  Requires Proj &gt;= 4.9.0 to take advantage of the new feature.</para>
                        <para>&sfs_compliant;</para>
                        <para>&sqlmm_compliant; SQL-MM 3: 8.1.2, 9.5.3</para>
                        <para>&P_support;</para>
@@ -766,7 +766,7 @@ SELECT ST_Area(the_geog)/POWER(0.3048,2) As sqft_spheroid,  ST_Area(the_geog,fal
 
                        <para>Availability: 1.1.0</para>
                        <para>Enhanced: 2.0.0 support for geography was introduced.</para>
-                       <para>Enhanced: 2.2.0 measurement on spheroid performed with GeographicLib for improved accuracy and robustness.</para>
+                       <para>Enhanced: 2.2.0 measurement on spheroid performed with GeographicLib for improved accuracy and robustness.  Requires Proj &gt;= 4.9.0 to take advantage of the new feature.</para>
                        <para>Azimuth is especially useful in conjunction with ST_Translate for shifting an object along its perpendicular axis. See
                                 upgis_lineshift <ulink url="http://trac.osgeo.org/postgis/wiki/UsersWikiplpgsqlfunctions">Plpgsqlfunctions PostGIS wiki section</ulink> for example of this.</para>
                </refsection>
@@ -1984,7 +1984,7 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry);
                <para>Availability: 1.5.0 geography support was introduced in 1.5.  Speed improvements for planar to better handle large or many vertex geometries</para>
                <para>Enhanced: 2.1.0 improved speed for geography. See <ulink url="http://boundlessgeo.com/2012/07/making-geography-faster/">Making Geography faster</ulink> for details.</para>
                <para>Enhanced: 2.1.0 - support for curved geometries was introduced.</para>
-               <para>Enhanced: 2.2.0 - measurement on spheroid performed with GeographicLib for improved accuracy and robustness.</para>
+               <para>Enhanced: 2.2.0 - measurement on spheroid performed with GeographicLib for improved accuracy and robustness. Requires Proj &gt;= 4.9.0 to take advantage of the new feature.</para>
          </refsection>
 
          <refsection>
@@ -2025,8 +2025,8 @@ st_distance
 <programlisting>-- same as geometry example but note units in meters - use sphere for slightly faster less accurate
 SELECT ST_Distance(gg1, gg2) As spheroid_dist, ST_Distance(gg1, gg2, false) As sphere_dist 
 FROM (SELECT
-       ST_GeographyFromText('SRID=4326;POINT(-72.1235 42.3521)') As gg1,
-       ST_GeographyFromText('SRID=4326;LINESTRING(-72.1260 42.45, -72.123 42.1546)') As gg2
+       ST_GeogFromText('SRID=4326;POINT(-72.1235 42.3521)') As gg1,
+       ST_GeogFromText('SRID=4326;LINESTRING(-72.1260 42.45, -72.123 42.1546)') As gg2
        ) As foo  ;
 
   spheroid_dist   |   sphere_dist