Ticket #207 (closed enhancement: fixed)
ST_Buffer with style options for partial buffer
| Reported by: | robe | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.5.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
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.
