Geographic Information Systems Asked on July 13, 2021
I’m trying to find the geographic mean of the multipoint feature in the above image. It seems like a really simple command, but I cannot find any way to do it.
There are multiple ways of accomplishing this.
For SQL, see https://postgis.net/docs/ST_Centroid.html.
Select st_centroid(geom) as geom from table
For a point collection (rather than a multipoint), use:
select st_centroid(st_collect(geom))
from table
Also, there's a Geometric Median function, which is useful on messy data with extreme outliers https://postgis.net/docs/ST_GeometricMedian.html.
And as per Erik's comment, there's also this method in the Field Calculator:
centroid($geometry)
And this one, in the Vector - Geometry menu:
Answered by Encomium on July 13, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP