我打算使用 Proj4 來進行坐標系統轉換。
首先,要找到 26985 和 4326 坐標系統的 Proj4
26985 Proj4:
+proj=lcc +lat_1=39.45 +lat_2=38.3 +lat_0=37.66666666666666 +lon_0=-77 +x_0=400000 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
4326 Proj4:
+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
string proj4_ed50 = @"+proj=longlat
+ellps=intl +towgs84=-87,-98,-121,0,0,0,0 +no_defs";
string proj4_rdnew = @"+proj=sterea +lat_0=52.15616055555555
+lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel
+towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs";
+ellps=intl +towgs84=-87,-98,-121,0,0,0,0 +no_defs";
string proj4_rdnew = @"+proj=sterea +lat_0=52.15616055555555
+lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel
+towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs";
參考資料:
沒有留言:
張貼留言