[postgis-devel] Specifying end cap and join styles Buffer op

Paul Ramsey pramsey at cleverelephant.ca
Fri Jun 19 14:46:35 PDT 2009


Hm, loverly. Look how Oracle does it:

http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objgeom.htm#i856140

A "param string". I wonder how they decide what values deserve their
own slot and who has to live in the string.

Overload ST_Buffer().

P

On Fri, Jun 19, 2009 at 2:38 PM, strk<strk at keybit.net> wrote:
> On Fri, Jun 19, 2009 at 02:28:46PM -0700, Paul Ramsey wrote:
>> The non-ST_ prefixed functions are there for *legacy* purposes, so do
>> not add new ones or alter the old ones.
>
> Alright.
> Fine for 3 more ST_Buffer then ? Or do you prefer differently
> named functions ? Like ST_BufferWithStyle ?
>
> The additional 3 args (optional if we keep ST_Buffer name)
> would be 2 strings for end cap and join styles and a float
> for mitre join.
>
> --strk;
>
>  Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
>  http://foo.keybit.net/~strk/services.html  /\  Keep it simple!
>



More information about the postgis-devel mailing list