<pre>>>I try with the ST_Difference and the ST_Intersections but both seem to <br>>>work only with geometries of same type.<br></pre><br>>ST_Difference should work.<br>
>Do you have a _small_ example showing it doesn't ?<br><br>oops sorry, <br>I need to explain better<br><br>The ST_Difference effectively work with two geometry of different type, but not always retrive the external portion,<br>
the example I post show an example of because this happened.<br><br><br><div class="gmail_quote">2011/2/16 strk <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Feb 15, 2011 at 11:16:44PM +0100, aperi2007 wrote:<br>
> Hi,<br>
><br>
> I need to retrieve the portion of a line external to a polygon,<br>
> I try with the ST_Difference and the ST_Intersections but both seem to<br>
> work only with geometries of same type.<br>
<br>
</div>ST_Difference should work.<br>
Do you have a _small_ example showing it doesn't ?<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>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>