[postgis-devel] line constructors

strk at refractions.net strk at refractions.net
Fri Oct 15 07:30:49 PDT 2004


The proposed interface is implemented in HEAD.
A question: should we (also or instead) have a makeline function ?

1) F makeline(multipoint); -- function
2) A makeline(point);  -- aggregate

Having 1) would make 2) obtainable with:
	makeline(collect(point));

Obtain 1) from 2) is not currently possible.

Have both would require a different name as they have same
number of args and arg types.

Thoughts (same toughts would apply to makepoly) ?

--strk;

On Fri, Oct 15, 2004 at 11:56:56AM +0200, strk at refractions.net wrote:
> We have makepoint, now on with makeline.
> 
> The simpler form would be 
> A makeline(geometry); // an aggregate
> 
> The aggregate would then take dimensionality depending on input.
> if 3dm *and* 3dz are found in input output would be 4d.
> 
> Development is starting, drop a line to influence ;)
> 
> --strk;
> _______________________________________________
> 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