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²。