]> granicus.if.org Git - postgis/commitdiff
example and result misaligned
authorRegina Obe <lr@pcorp.us>
Wed, 10 Sep 2008 11:57:59 +0000 (11:57 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 10 Sep 2008 11:57:59 +0000 (11:57 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2954 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_new.xml

index 73734b127a3d83b791e3397ca0a1b000b215963b..b5f217870f69b6230cc43f20d673c65ccee7460d 100644 (file)
@@ -2376,8 +2376,8 @@ postgis=# SELECT ST_StartPoint('POINT(0 1)'::geometry) IS NULL AS is_null;
       <refsection>
         <title>Examples</title>
     
-        <programlisting>SELECT ST_IsValid(ST_GeomFromText('LINESTRING(0 0, 1 1)')) As good_line,
-       ST_IsValid(ST_GeomFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) As bad_poly
+        <programlisting>SELECT ST_Summary(ST_GeomFromText('LINESTRING(0 0, 1 1)')) As good_line,
+       ST_Summary(ST_GeomFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) As bad_poly
 --results
       good_line       |        bad_poly
 ----------------------+-------------------------