[postgis-devel] GEOS centroid

strk strk at keybit.net
Wed Oct 29 06:07:56 PST 2003


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;



More information about the postgis-devel mailing list