제목

CG_Area — Calculates the area of a geometry

요약

double precision CG_Area( geometry geom );

설명

Calculates the area of a geometry.

Performed by the SFCGAL module

[참고]

NOTE: this function returns a double precision value representing the area.

Availability: 3.5.0

This method needs SFCGAL backend.

도형 예시

Code
SELECT CG_Area('Polygon ((0 0,0 5,5 5,5 0,0 0),(1 1,2 1,2 2,1 2,1 1),(3 3,4 3,4 4,3 4,3 3))');
래스터 출력
23
Figure
Geometry figure for visual-cg-area-01

참고

CG_3DArea, ST_Area