[postgis-devel] [PostGIS] #207: ST_Buffer with style options for partial buffer

PostGIS trac at osgeo.org
Tue Jun 23 20:47:48 PDT 2009


#207: ST_Buffer with style options for partial buffer
-------------------------+--------------------------------------------------
 Reporter:  robe         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  postgis 1.5.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 This is to support partial buffers.


 As of #r4198.

 Requires postgis_upgrade.sql or segfaults are around the corner (old SQL
 signature points to a now changed C version now interpreting 3rd arg as
 cstring rather than numeric).

 postgis_upgrade.sql in turn will fail due to those types...
 So you'll need to manually drop CREATE TYPE statements from it.

 When that's all done, any old code using buffer() should still work fine,
 but in addition you should now be able to specify parameters as key=value
 pairs separated by space. Supported params:

         endcap=round|flat|square
         join=round|mitre|bevel
         mitre_limit=<float> (only makes sense with join=mitre)
         quad_segs=<int>

 Tests welcome. Comments on the naming are also welcome before I move on to
 automated testing and documentation.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/207>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list