[postgis-devel] ST_GeometrySplit
strk
strk at keybit.net
Wed Mar 10 02:50:31 PST 2010
To add more thoughts, there are cases in which also
a single-segment "blade" against a single linestring
may return more than 2 parts:
|
+--+---2
1| |
+--+---3
|
Vertical line above is a single-segment "blade".
Input is a single C-shaped linestring.
Numbers represent the components of output.
--strk;
On Wed, Mar 10, 2010 at 11:26:34AM +0100, strk wrote:
> Brain picking you guys about a ST_GeometrySplit.
>
> The cases of interest seem to be:
> - Split polygon by line
> - Split line by line
> - Split line by point
>
> Initial questions:
> - Should we allow multi-segment "blade" lines ?
> (where a single polygon or line might be cut in multiple pieces)
> - Should we allow multi-component inputs ?
> (where the "blade" might cut a single component)
>
> Both questions are related to the kind of returned output,
> that is: should output be always composed by 2 parts or
> possibly multiple parts ?
>
> Comments welcome.
>
> --strk;
>
> () Free GIS & Flash consultant/developer
> /\ http://strk.keybit.net/services.html
--
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list