计算WGS84坐标中给出的多边形面积

时间:2015-07-23 09:11:11

标签: ruby geospatial

在我的Ruby on Rails应用程序中,我得到一个包含多边形的GeoJSON,所以我基本上得到了这样的wgs84坐标数组:

//command = cmd from ExecutePowerShell
string remexecCmd = "remexec.exe";
string remexecArgs = string.Format("{0} -q -t {1} -l {2} -p {3} powershell.exe 2>&1", ipaddress, timeout, userName, password);
result = Common.ExecuteCmdWithInput(remexecCmd, remexecArgs, command, out outp, timeout);

有人可以举个例子,我怎样才能准确计算出那些以km²为单位的多边形面积?我知道这个问题has been asked before,但它已经4年了,没有给出任何例子,我也不会安静地理解在接受的答案中链接的图书馆。

0 个答案:

没有答案