Polygon area on geoid

question

#1

Hi all, is it possible to estimate the area of a lat-lon-box with Geodesy.jl? Many thanks!


#2
using GMT
julia> r = gmt("gmtspatial -Qk -fg", [0 0; 0 1; 1 1; 1 0; 0 0])
1-element Array{GMT.GMTdataset,1}:
 GMT.GMTdataset([0.5 0.50002 12308.3], Any[], "", Any[], "", "")

julia> r[1].data
1×3 Array{Float64,2}:
 0.5  0.50002  12308.3

The area is the last figure, that is 12308.3 km^2. Se the man page of the gmtspatial GMT program for more details


#3

Thank you very much - but the question was if this was possible using Geodesy.jl. The reason is that I use julia on a remote server where I cannot load the library “libgmt”.