[postgis-users] Retrieve the portion of line external to polygon

strk strk at keybit.net
Wed Feb 16 03:48:20 PST 2011


On Tue, Feb 15, 2011 at 11:16:44PM +0100, aperi2007 wrote:
> Hi,
> 
> I need to retrieve the portion of a line external to a polygon,
> I try with the ST_Difference and the ST_Intersections but both seem to 
> work only with geometries of same type.

ST_Difference should work.
Do you have a _small_ example showing it doesn't ?

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list