Calculate centroid on earth



I would like to calculate the centroid of an arbitrary
polygon on the surface of the earth. The mapping toolbox
includes MEANM, which takes the geographic mean of a set of
points on a geoidal surface(specified by their latitude and
longitude). The centroid, however, is the average of a
set of points considered as vertices of a polygon, weighted
not by the number of vertices, but by the area they
surround. Technically, the nth coordinate of the centroid
is the integral of the product of the nth coordinate and
the differential area. I believe this is not the the same
as the MEANM.
Is there a reasonable combination of spherical functions,
or a part of the mapping toolbox, which can do this?
.



Relevant Pages

  • Re: Centroid of a polygon with holes
    ... > as a polygon is the center. ... > just locate the holes, ... I can't punch a pinhole into one corner of a large square and expect ... the centroid of the punched figure to now be in the pinhole. ...
    (sci.math)
  • Re: how to calculate centroid for non-constant desity polygon
    ... first create your polygon in an array with the ... To find the x centroid, ... as well as your thresholded image (which specifies which pixels ...
    (comp.soft-sys.matlab)
  • Re: Polygon from Unordered set of points
    ... I want to form a polygon from these vertices which should arrange the points in either clockwise or anticlockwise sense. ... Can't you just find the centroid, then find the angle from the ...
    (comp.soft-sys.matlab)
  • Re: Graphical calculation of a centroid
    ... given a specific polygon, I can have an estimate of the centroid ... the middle of the polygon segments and unite them by a line (the ... can't find this information anymore and I don't remember the exact ...
    (sci.math)