Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
265 views

3D centroid in PostGIS

How could I find the 3D centroid of this feature in PostGIS: SELECT ST_AsText( ST_GeomFromText('POLYGON Z ((0 0 0, 1 0 0, 1 0 1, 1 1 1, 0 1 1, 0 0 1, 0 0 0 ))') ) geom; ...
swiss_knight's user avatar
  • 10.9k