[postgis-devel] chunked GeomUnion commit

Markus Schaber schabi at logix-tt.com
Wed Jun 29 09:39:00 PDT 2005


Hi, Strk,

strk at refractions.net wrote:

> This one is the version that doesn't require dump/reload
> so will still get full geometry set in input, but will
> chunk it before passing to GEOS for processing.
> 
> I don't feel comfortable breaking the scripts interface
> so far. Please make your tests with this setup.
> 
> You can fine-tune chunk size changing the MAXGEOMSPOINTS
> #define around line 267

Would it be the best method to make GEOS / JTS expose their intermediate
state (graphs etc.), so postgis could incrementally add geometries by
re-feeding this state into GEOS / JTS?

When using JTS I stumble over just the same problem of efficiently
aggregating multiple geometries, because there is no way to
incrementally do this, and buffer(0) does only work with areas.

Markus



More information about the postgis-devel mailing list