私はwgs64 gisで働いています。
私は10進度で与えられたポリゴンの座標を持っています。
ポリゴンエンベロープを長方形から正方形に拡張しようとしています。球面上の緯度と経度が 1 度の長方形は、赤道上にない限り、km 単位の長さが同じではないことを理解しています。しかし、封筒を修正する方法の背後にある数学がわかりません。
私はこれをやっています:
Envelope contextEnvelope = CurrElement.Envelope;
double Max = Math.Max(contextEnvelope.Width, contextEnvelope.Height);
contextEnvelope.Expand((Max * 15 - contextEnvelope.Width) / 2, (Max * 15 - contextEnvelope.Height) / 2);