I have a table like this:
id| shape [geometry] | centroid [geomety]
---------------------------------------------------
1|MULTIPOLYGON(((-70, etc...)|
2|MULTIPOLYGON(((-71, etc...)|
I need to create the centroid of each shape, how can I do this? The final result should be this table:
id| shape [geometry] | centroid [geomety]
---------------------------------------------------
1|MULTIPOLYGON(((-70, etc...)|POINT(something)
2|MULTIPOLYGON(((-71, etc...)|POINT(something_else)
Edit: should be some update with st_centroid(shape)
I guess