[QGIS-pt] Calculate the interior angle of polygons or multipolygons

Paulo Pires paulopires16 at gmail.com
Mon May 28 02:00:59 PDT 2018


Hello,

Is it possible to calculate de interior angles of polygons or multipolygons?

I test with this function  pa_calculation.sql
<https://github.com/vamaq/rdbms_playground/blob/master/examples/PostGis_polygon_angle_calculation/pa_calculation.sql>  
in Postgis but I get some errors with this example:

INSERT INTO poly_and_multipoly (name, the_geom) VALUES ( 'A', 'POLYGON((7.7
3.8,7.68029010238908 5.16928327645051,9 5.8,7.7 3.8))'::geometry ), ( 'B',
'MULTIPOLYGON(((0 0,4 0,4 4,0.13796928327645 1.87133105802048,0 0),(1 1,2
1,2 2,0.990145051194539 1.51710750853242,1 1)),((-1 -1,-1 -2,-2 -2,-2 -1,-1
-1)))'::geometry );

There's a way on Qgis?

Thanks





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-pt-f5128248.html


More information about the QGIS-pt mailing list