注意:以下翻译的准确性尚未经过验证。这是使用 AIP ↗ 从原始英文文本进行的机器翻译。
支持于: 批处理, 流处理
使用球形近似法计算几何图形的面积,单位为平方米。对于线字符串或点,此值等于0。
表达式类别: 地理空间
输出类型: Double
参数值:
geometry
geometry | 输出 |
---|---|
{"type":"Polygon","coordinates":[[[-1.0,-1.0],[1.0,-1.0],[1.0,1.0],[-1.0,1.0],[-1.0,-1.0]]]} | 4.945989326791108E10 |
{"type":"Polygon","coordinates":[[[-179.0,-1.0],[179.0,-1.0],[179.0,1.0],[-179.0,1.0],[-179.0,-1.0]]]} | 4.945989326791108E10 |
{"type":"Polygon","coordinates":[[[-102.05,41.0],[-109.05,41.0],[-109.05,37.0],[-102.05,37.0],[-102.05,41.0]]]} | 2.6893150148718735E11 |
{"type":"MultiPolygon","coordinates":[[[[-102.05,41.0],[-109.05,41.0],[-109.05,37.0],[-102.05,37.0],[-102.05,41.0]]],[[[-1.0,-1.0],[1.0,-1.0],[1.0,1.0],[-1.0,1.0],[-1.0,-1.0]]]]} | 3.1839139475509845E11 |
{"type":"LineString","coordinates":[[0.0,0.0],[1.0,0.0]]} | 0.0 |
{"type":"Point","coordinates":[0.0,0.0]} | 0.0 |
null | null |
not geoJson | null |