[postgis-users] Does the centroid function work?

Andy Turk andy at streetlight.com
Wed Oct 9 13:41:32 PDT 2002

I'm using 0.73 with PG 7.2.2

SELECT centroid(geometryfromtext('MULTIPOINT(0 1, 1 0, 1 1)', 4269))

returns NULL

Is this a bug, or are there restrictions on what sort of geometries centroid() 
will work with?

More information about the postgis-users mailing list