开发者

How to calculate area which was compose with mulit- Coordinates?

开发者 https://www.devze.com 2022-12-15 19:31 出处:网络
as topic, the Coordinates value (Latitude and Longitude) is known , these Coordinates will compose as polygonal area , my question is how to calculate the area of the polygo开发者_StackOverflownal tha

as topic, the Coordinates value (Latitude and Longitude) is known , these Coordinates will compose as polygonal area , my question is how to calculate the area of the polygo开发者_StackOverflownal that is base the geography ?

thanks for your help .


First you would need to know whether the curvature of the surface would be significant. If it is a relatively small then you can get a good approximation by projecting the coordinates onto a plane.

  1. Determine units of measure per degree of latitude (eg. meters per degree)
  2. Determine units of meature per degree of longitude at a given latitude (the conversion factor varies as you go North or South)
  3. Convert latitude and longitude pairs to (x,y) pairs in the plane
  4. Use an algorithm to compute area of a polygon. See StackOverflow 451425 or Paul Bourke

If you are calculating a large area then spherical techniques must be used.


If I understand your question correctly - triangulation should help you. Basically you break the polygonal to triangles in such a way that they don't overlap and sum their areas.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号