I have the geographic coordinates of a large collection of places on Earth. I am trying to determine which the area covered by each one of them.
For example:
GroupA: "35.4042","33.7833"; "35.4042","33.7833"; "38.3937","23.7931"
GroupB: "38.4625","23.5907"; "35.4042","33.7833"; "38.3937","23.7931";"38.5833","22.6667"
GroupC: "37.3991","25.2664"; "35.4042","33.7833"; "38.3937","23.7931"; "37.8531","15.2879"
etc.
Do you know how to solve this math problem with LC?
calculate the area of an irregular polygon given latitude and longitude coordinates
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: calculate the area of an irregular polygon given latitude and longitude coordinates
You could use the answer from here
https://stackoverflow.com/questions/478 ... -longitude
This is Java (SphericalUtil.ComputeSignedArea method from Google's Maps Utils) or C# and is easily translated to LC.
https://stackoverflow.com/questions/478 ... -longitude
This is Java (SphericalUtil.ComputeSignedArea method from Google's Maps Utils) or C# and is easily translated to LC.
shiftLock happens