Polygon Closed Area
A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|。
📐 计算公式
A = ½|Σ[x(i)·y(i+1) − x(i+1)·y(i)]|(鞋带公式,顶点按顺序输入、首尾自动闭合);计算前先把各顶点平移到以首点为原点的局部坐标系再求和,避免大坐标小宗地直接对绝对坐标相乘相减时发生浮点消减而面积失真。坐标单位与成果单位一致(米 → 平方米)。
A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Closed-polygon area | A = 0.5 · | sum (x_i · y_(i+1) - x_(i+1) · y_i) | with the first point repeated at the end | GB 50026-2020, Code for engineering surveying |
| Absolute value and orientation | Clockwise ordering gives a negative value and counter-clockwise positive, hence the absolute value | GB 50026-2020, Code for engineering surveying |
| Coordinate closure | Check coordinate closure before computing the area | GB 50026-2020, Code for engineering surveying |
| Area accuracy | Area accuracy depends on point errors and the number of vertices | GB 50026-2020, Code for engineering surveying |
📌 计算说明
- 鞋带公式自动闭合多边形;X、Y 列表须等长、一一对应,至少 3 个有效顶点,空项或非数值会被拦截并指出序号。
- 1 亩 ≈ 666.67 m²。
- 大坐标(如高斯投影坐标)配小宗地时,先平移到首点局部原点再求和。实测:四点 (1000000000,1000000000)、(1000000001,1000000000)、(1000000001,1000000001)、(1000000000,1000000001) 围成 1 m² 正方形,直接对绝对坐标求和得 0 m²,平移后得 1.00 m²。