]> granicus.if.org Git - postgis/commitdiff
Make lame circle more lame
authorRegina Obe <lr@pcorp.us>
Tue, 26 May 2009 17:08:20 +0000 (17:08 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 26 May 2009 17:08:20 +0000 (17:08 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4104 b70326c6-7e19-0410-871a-916f4a2858ee

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

index 721861c119503d74670a99e7ea871d8d48f92553..a111b4574c620ecab9c7c654767de84c1624f25a 100644 (file)
@@ -1 +1 @@
-Style1;POLYGON((150 90,146.193976625564 70.8658283817455,135.355339059327 54.6446609406727,119.134171618255 43.8060233744357,100 40,80.8658283817456 43.8060233744356,64.6446609406727 54.6446609406725,53.8060233744357 70.8658283817454,50 89.9999999999998,53.8060233744356 109.134171618254,64.6446609406725 125.355339059327,80.8658283817453 136.193976625564,99.9999999999998 140,119.134171618254 136.193976625564,135.355339059327 125.355339059328,146.193976625564 109.134171618255,150 90))
+Style1;POLYGON((150 90,135.355339059327 54.6446609406727,100 40,64.6446609406727 54.6446609406725,50 89.9999999999998,64.6446609406725 125.355339059327,99.9999999999998 140,135.355339059327 125.355339059328,150 90))
index c13609d29d182b4505816d6389595688bed328b8..0bc0d53c7278ac4b39dba4a9d419f4d656a7aa5a 100644 (file)
@@ -11539,7 +11539,7 @@ SELECT ST_Buffer(ST_GeomFromText('POINT(50 50)'), 20) As smallc,
                                                          <imageobject>
                                                                <imagedata fileref="images/st_buffer02.png" />
                                                          </imageobject>
-                                                         <caption><para>4 segments quarter circle (lame)</para></caption>
+                                                         <caption><para>2 segments quarter circle (lame)</para></caption>
                                                        </mediaobject>
                                                  </informalfigure></para></entry>
                                          </row>
@@ -11551,11 +11551,11 @@ SELECT ST_Buffer(ST_GeomFromText('POINT(50 50)'), 20) As smallc,
 -- A buffered point forcing approximation of
 -- 4 points per circle is poly with 16 sides
 SELECT ST_NPoints(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50)) As promisingcircle_pcount,
-ST_NPoints(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50, 4)) As lamecircle_pcount;
+ST_NPoints(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50, 2)) As lamecircle_pcount;
 
 promisingcircle_pcount | lamecircle_pcount
 ------------------------+-------------------
-                        33 |                17
+                        33 |                9
 
 --A lighter but lamer circle
 -- only 2 points per quarter circle is an octagon