]> granicus.if.org Git - postgis/commitdiff
better visual convex hull
authorRegina Obe <lr@pcorp.us>
Fri, 28 Aug 2009 18:58:57 +0000 (18:58 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 28 Aug 2009 18:58:57 +0000 (18:58 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4437 b70326c6-7e19-0410-871a-916f4a2858ee

doc/html/image_src/st_convexhull01.wkt
doc/reference.xml

index 930d41af5051851189059483e536201a988ac9ca..e24491a7e77ef5232bf580cf2011cc41b9fe230d 100644 (file)
@@ -1,3 +1,3 @@
-Style1;POLYGON((3 4,100 190,10 8,3 4))
+Style1;POLYGON((50 3,10 8,100 190,50 3))
 Style2;LINESTRING(100 190,10 8)
-Style2;POINT(3 4)
+Style2;POINT(50 3)
index ec757eb5cec5d7c89089d29f42535bd3ab372dcd..fb0e8140849ef4947cdf767a01e855a6534832f9 100644 (file)
@@ -12146,10 +12146,10 @@ SELECT d.disease_type,
 SELECT ST_AsText(ST_ConvexHull(
                ST_Collect(
                        ST_GeomFromText('LINESTRING(100 190,10 8)'),
-                               ST_MakePoint(3, 4))
+                               ST_MakePoint(50, 3))
                                ));
        ---st_astext--
-POLYGON((3 4,100 190,10 8,3 4))
+POLYGON((50 3,10 8,100 190,50 3))
                                </programlisting>
        </para></entry>
                </row>