]> granicus.if.org Git - postgis/commitdiff
#2435 ST_Summary document S flag
authorRegina Obe <lr@pcorp.us>
Fri, 16 Aug 2013 00:57:28 +0000 (00:57 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 16 Aug 2013 00:57:28 +0000 (00:57 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11805 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_accessor.xml

index 2ada90fbb0bfc203d5306a5ae435283578596c2a..ed81cbf6c9271cb9332871abf16c5a6daf8bd5ee 100644 (file)
@@ -2113,10 +2113,13 @@ Returns a text summary of the contents of the geometry.
                     <listitem><para>Z: has Z ordinate</para></listitem>
                     <listitem><para>B: has a cached bounding box</para></listitem>
                     <listitem><para>G: is geodetic (geography)</para></listitem>
+                    <listitem><para>S: has spatial reference system</para></listitem>
                   </itemizedlist>
                 </para>
 
-               <para>Availability: 1.2.2 - 2.0.0 added support for geography</para>
+               <para>Availability: 1.2.2</para>
+               <para>Enhanced: 2.0.0 added support for geography</para>
+               <para>Enhanced: 2.1.0 S flag to denote if has a known spatial reference system</para>
 
          </refsection>
 
@@ -2128,20 +2131,20 @@ Returns a text summary of the contents of the geometry.
         ST_Summary(ST_GeogFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) geog;
             geom             |          geog    
 -----------------------------+--------------------------
- LineString[B] with 2 points | Polygon[BG] with 1 rings
-                             :    ring 0 has 5 points
+ LineString[B] with 2 points | Polygon[BGS] with 1 rings
+                             | ring 0 has 5 points
                              :
 (1 row)
 
 
 =# SELECT ST_Summary(ST_GeogFromText('LINESTRING(0 0 1, 1 1 1)')) As geog_line,
-        ST_Summary(ST_GeomFromText('POLYGON((0 0 1, 1 1 2, 1 2 3, 1 1 1, 0 0 1))')) As geom_poly;
+        ST_Summary(ST_GeomFromText('SRID=4326;POLYGON((0 0 1, 1 1 2, 1 2 3, 1 1 1, 0 0 1))')) As geom_poly;
 ;
-           geog_line           |        geom_poly
--------------------------------+--------------------------
- LineString[ZBG] with 2 points | Polygon[ZB] with 1 rings
-                               :    ring 0 has 5 points
-                               :
+           geog_line             |        geom_poly
+-------------------------------+--------------------------
+ LineString[ZBGS] with 2 points | Polygon[ZBS] with 1 rings
+                                :    ring 0 has 5 points
+                                :
 (1 row)
 
 </programlisting>