[postgis-devel] ST_GeometrySplit

Paul Ramsey pramsey at cleverelephant.ca
Fri Mar 12 08:21:57 PST 2010


Left/right becomes very grey for non-trivial inputs, see the
ST_LineCrossingDirection for a flavor of how deep the rathole can get.
If you don't really "need" it, don't do it.

P.

On Fri, Mar 12, 2010 at 8:14 AM, strk <strk at keybit.net> wrote:
> On Thu, Mar 11, 2010 at 01:52:22PM -0800, Martin Davis wrote:
>> Not really...  all I can think of to do in this case is to choose one or
>> other direction as primary, and return ambiguous cases as that
>> direction.  Really it has to be up to the user to provide reasonable
>> input - you can't expect to give a sensible answer to a nonsensical
>> question.
>
> I start to think the whole "left/right" question is nonsensical.
> I've taken a look at how qgis implements "split" tool.
> There, the split just returns all elements with no distinction.
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list