Clear Filters
Clear Filters

Calculate % of Earth covered using Mapping Toolbox

2 views (last 30 days)
The image shows my coverage, but I'm wondering if there is a way to use MATLAB/Mapping Toolbox to calculate the percentage of the Earth that is covered by the red markers.
Thank you.

Accepted Answer

Paul Huter
Paul Huter on 3 May 2017
I solved this by creating a polygon as follows:
area = sum(areaint(latQ, lonQ, spheroid));
And then finding the ratio to the Earth's area:
ratio = 100 * (area/5.101e8);

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!