Computing the dimensions of a geographical area

2 ビュー (過去 30 日間)
Maurilio Matracia
Maurilio Matracia 2021 年 2 月 15 日
コメント済み: Maurilio Matracia 2021 年 2 月 16 日
Hi everyone,
I am trying to compute the dimensions of the rectangle (or Cell) shown in blue in the map, which has been generated by geodensityplot according to the values of LatP, LonP, and respective weights.
As you can see from the figure, I tried to compute the width and the height of the rectangle with two methods:
1. I considered the average latitude/longitude and I chose the points with the maximum and minimum longitude/latitude to compute the distance and convert it in meters.
2. I simply computed the lengths of the arcs covered by the rectangle as arcLon=max(LonP)-min(LonP) and arcLat=max(LatP)-min(LatP) and computed the average distance spanned by those arcs.
My concern is that both the methods (especially the first one, that should be more accurate) are providing weird results. Indeed, from the map it is evident that the width should be around 5300 m and the height around 6200 m.
Thank you in advance for your help!
  4 件のコメント
darova
darova 2021 年 2 月 16 日
What are colsU and rowsU?
Maurilio Matracia
Maurilio Matracia 2021 年 2 月 16 日
sorry, they're actually the number of rows or columns to further divide the cell in subcells...
In the initial question I assumed them equal to 1 so that we just have the full rectangle, you can do the same

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by