[postgis-users] ST_Difference and ST_Buffer queries

strk strk at keybit.net
Wed Sep 1 02:30:34 PDT 2010


On Tue, Aug 31, 2010 at 07:31:23PM -0400, L Bogert-O'Brien wrote:

> Does anyone have an alternate suggestion that would get rid of these 
> unwanted borders, that would not involve changing the size of the 
> polygon used for clipping?

What you could do is drop all components of your geometry where
the area is below a given value (including holes, I'd say).

It'd be useful to have the above functionality in a function,
possibly taking the threshold as a factor of total area.

--strk;

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



More information about the postgis-users mailing list