Created
July 1, 2020 08:38
-
-
Save johnniehard/5c7db300be67712f2c7153ecbf661898 to your computer and use it in GitHub Desktop.
Getting the centroid and radius of (circle) polygons with postgis.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table "magnus-etuna".trees as | |
select fid, center as geom, radius as crownRadius from "magnus-etuna"."tree-polygons", ST_MinimumBoundingRadius(geom) as geom; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment