yii2-postgis icon indicating copy to clipboard operation
yii2-postgis copied to clipboard

St_Centroid

Open namgee opened this issue 5 years ago • 1 comments

Is there a way I can get ST_Centroid from a set of coordinates? https://postgis.net/docs/ST_Centroid.html

namgee avatar Apr 01 '19 06:04 namgee

You could add method stCentroid() to yii2-postgis/helpers/PostgisHelper.php (use stWithin() as example) and create merge request.

nanson avatar Apr 01 '19 20:04 nanson