[postgis-devel] GEOS centroid

strk strk at keybit.net
Wed Oct 29 07:54:43 PST 2003


committed. --strk(good_morning);

pramsey wrote:
> No, the default centroid() function should automagically use the GEOS 
> centroid function if USE_GEOS is available. Combine the two C functions 
> with an ifdef on the USE_GEOS flag.
> Paul
> 
> On Wednesday, October 29, 2003, at 06:07 AM, strk wrote:
> 
> > I've added a geoscentroid function to postgis.
> > To enable it:
> >
> > CREATE FUNCTION geoscentroid(GEOMETRY)
> >         RETURNS GEOMETRY
> >         AS '$libdir/../libpostgis.so.0.8'
> >         LANGUAGE 'C' WITH (isstrict);
> >
> > So far you explicitly decide which version to use (centroid or 
> > geoscentroid).
> > Let me know about further steps we should take ( automatic geos use 
> > when
> > available? )
> >
> > --strk;
> >
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-devel
> >
>       Paul Ramsey
>       Refractions Research
>       Email: pramsey at refractions.net
>       Phone: (250) 885-0632
> 
> 
> _______________________________________________
> 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