Thursday, August 9, 2012

[android-developers] Re: Irregular Polygon Area Calculation in Android MapView

This is complex problem even if your points are close enough together for you to assume that the earth is flat.  You will need to check that the polygon is closed and non-self-intersecting.  If you do this the formula is Wikipedia page here:  http://en.wikipedia.org/wiki/Polygon 
Note that the formula assumes that the earth is flat.

Also try Stackoverflow:  http://stackoverflow.com/questions/1340223/calculating-area-enclosed-by-arbitrary-polygon-on-earths-surface 

On Thursday, August 9, 2012 5:45:07 PM UTC+1, ajmer singh wrote:
Hi All

I am working on an Map based android application where i want to calculate the area of Polygon created by the Goepoint on the MapView, Please if any body can provide any lead on how can i achieve the area calculation using GPS coordinates.

Please help thanks in advance.

--
Thanks and Regards
Ajmer Singh

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment