필터 지우기
필터 지우기

Area of a polygon in UTM coordinates

조회 수: 10 (최근 30일)
Enrico Gambini
Enrico Gambini 2022년 5월 26일
답변: Moksh 2023년 9월 22일
Hello!
Anyone knows how to calculate the area inside a polygon whose coordinates are in the carthographic UTM32N system? I would like to obtain the area on WGS84 ellipsoid.
I just tried "areaint" function on the mapping toolbox, but it doesn't seem to work.
Do you have any suggestion?
Thank you!

답변 (1개)

Moksh
Moksh 2023년 9월 22일
Hi Enrico,
I understand that you have generated a WGS84 ellipsoid and would now like to get the area for this.
You can try using the “wgs84Ellipsoid” function in MATLAB, which generated a reference ellipsoid for the WGS system of 1984. You can specify the “lengthUnit” parameter as input to the function to set the plotting unit and then use the “SurfaceArea” parameter to get the surface area and “Volume” parameter to get the volume of the ellipsoid.
Here is an example code:
% Plotting the WGS84 Ellipsoid in kilometers
wgs84 = wgs84Ellipsoid("kilometer");
surfarea = wgs84.SurfaceArea;
volume = wgs84.Volume;
For more information, please refer to the following documentation:
Hope this helps!
Best Regards,
Moksh Aggarwal

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by