Hello guys,<br><br>AFAIK, ArcGIS only handles the first case. One geometry splitting another, even in multiple pieces, in case of the aforementioned C shape linestring.<br><br>We should return multiple parts, as many as necessary: example, imagine multiple "C" shape linestrings concatenated together:<br>

<br>___a________start<br>|__ b___<br>___c___|<br>|__ d___end<br>     e<br><br>In this case we would have 5 parts (I'm not sure if you all can see it...).<br><br>Although the splitter line can be as complex as the user wants, it's a single line. <br>

<br>George <br><br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 7:50 AM, strk <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

To add more thoughts, there are cases in which also<br>
a single-segment "blade" against a single linestring<br>
may return more than 2 parts:<br>
<br>
     |<br>
  +--+---2<br>
 1|  |<br>
  +--+---3<br>
     |<br>
<br>
Vertical line above is a single-segment "blade".<br>
Input is a single C-shaped linestring.<br>
Numbers represent the components of output.<br>
<font color="#888888"><br>
--strk;<br>
</font><div class="im"><br>
<br>
On Wed, Mar 10, 2010 at 11:26:34AM +0100, strk wrote:<br>
> Brain picking you guys about a ST_GeometrySplit.<br>
><br>
> The cases of interest seem to be:<br>
>  - Split polygon by line<br>
>  - Split line by line<br>
>  - Split line by point<br>
><br>
> Initial questions:<br>
>  - Should we allow multi-segment "blade" lines ?<br>
>    (where a single polygon or line might be cut in multiple pieces)<br>
>  - Should we allow multi-component inputs ?<br>
>    (where the "blade" might cut a single component)<br>
><br>
> Both questions are related to the kind of returned output,<br>
> that is: should output be always composed by 2 parts or<br>
> possibly multiple parts ?<br>
><br>
> Comments welcome.<br>
><br>
> --strk;<br>
><br>
>   ()   Free GIS & Flash consultant/developer<br>
>   /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
<br>
</div>--<br>
<div><div></div><div class="h5"><br>
  ()   Free GIS & Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>George R. C. Silva<br><br>Desenvolvimento em GIS<br><a href="http://blog.geoprocessamento.net">http://blog.geoprocessamento.net</a><br>(34) 9664-3717<br>(34) 8843-3717<br>