From: Sandro Santilli Date: Thu, 25 Jun 2009 12:01:25 +0000 (+0000) Subject: Put queries right below the diagram showing them X-Git-Tag: 1.5.0b1~619 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=184da778ae3983783423743d410cde07238b1d10;p=postgis Put queries right below the diagram showing them git-svn-id: http://svn.osgeo.org/postgis/trunk@4217 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index be30f3ddf..57010e1fd 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -11628,18 +11628,30 @@ The optional third parameter can either specify number of segments used to appro - Default 8 segments quarter circle (promising) + quad_segs=8 (default) - + + +SELECT ST_Buffer( + ST_GeomFromText('POINT(100 90)'), + 50, 'quad_segs=8'); + + - 2 segments quarter circle (lame) + quad_segs=2 (lame) - + + +SELECT ST_Buffer( + ST_GeomFromText('POINT(100 90)'), + 50, 'quad_segs=2'); + + @@ -11649,7 +11661,14 @@ The optional third parameter can either specify number of segments used to appro endcap=round join=round (default) - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'endcap=round join=round'); + + @@ -11658,7 +11677,14 @@ The optional third parameter can either specify number of segments used to appro endcap=square - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'endcap=square join=round'); + + @@ -11667,7 +11693,14 @@ The optional third parameter can either specify number of segments used to appro endcap=flat - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'endcap=flat join=round'); + + @@ -11677,7 +11710,15 @@ The optional third parameter can either specify number of segments used to appro join=bevel - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'join=bevel'); + + + @@ -11685,7 +11726,14 @@ The optional third parameter can either specify number of segments used to appro join=mitre mitre_limit=5.0 (default) - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'join=mitre mitre_limit=5.0'); + + @@ -11694,7 +11742,14 @@ The optional third parameter can either specify number of segments used to appro join=mitre mitre_limit=1 - + + +SELECT ST_Buffer( + ST_GeomFromText( + 'LINESTRING(50 50,150 150,150 50)' + ), 10, 'join=mitre mitre_limit=1.0'); + +