[postgis-devel] collect()

strk at refractions.net strk at refractions.net
Mon Sep 27 09:52:38 PDT 2004


On Mon, Sep 27, 2004 at 09:25:35AM -0700, Chris Hodgson wrote:
> By flatten I suppose you mean to remove any nested collections and put 
> them all in one big collection? Yes. We didn't have support for nested 
> collections when "collect()" was written (that was the first thing I 
> ever wrote for postgis!).
> 
> I agree, collect shouldn't flatten, but a separate function that does 
> flatten would be a good idea.

Good.
And bed (the LWGEOM_EXPLODED structure needs a refactoring :)
--strk;

> 
> Chris
> 
> strk at refractions.net wrote:
> 
> >Current (OLD) collect() function flatten geometries.
> >Should NEW collect() also do this or instead have a
> >flatten(the_geom) taking care of this ?
> >(I opt for the second)
> >--strk;
> >_______________________________________________
> >postgis-devel mailing list
> >postgis-devel at postgis.refractions.net
> >http://postgis.refractions.net/mailman/listinfo/postgis-devel
> > 
> >
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list