メインコンテンツまでスキップ
バージョン: 2.1

ST_AREA_SQUARE_KM

説明

地球の球面上の領域の面積を計算します

構文

ST_AREA_SQUARE_KM( <geo>)

パラメータ

パラメータ説明
<geo>地球の球面位置

Return Value

ST_Area_Square_Km( ): 返される単位は平方キロメートルです

Examples

SELECT ST_Area_Square_Km(ST_Polygon("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))"));
+----------------------------------------------------------------------+
| st_area_square_km(st_polygon('POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))')) |
+----------------------------------------------------------------------+
| 12364.036567076409 |
+----------------------------------------------------------------------+