yii2-postgis
yii2-postgis copied to clipboard
St_Centroid
Is there a way I can get ST_Centroid from a set of coordinates? https://postgis.net/docs/ST_Centroid.html
You could add method stCentroid() to yii2-postgis/helpers/PostgisHelper.php (use stWithin() as example) and create merge request.