wmsread 3D output explanation
1 回表示 (過去 30 日間)
古いコメントを表示
Chiara Zuliani
2020 年 10 月 24 日
コメント済み: Tarunbir Gambhir
2020 年 10 月 28 日
I can't understand the three-dimensional output of the function wmsread. I don't understand how to read it and how to connect the data it contains to latitude and longitude. (So how is the data connected to the position in the output 3D matrix?) Could someone explain it to me? Please. I have to construct a matrix with data from wmsread
0 件のコメント
採用された回答
Tarunbir Gambhir
2020 年 10 月 27 日
The wmsread function accesses the Internet to render and retrieve a raster map from a Web Map Service (WMS) server. The function can take input of the layer which you want to retrieve, the longitude and the latitude, and the image height and width.
It gives two ouputs. the first can be a 2D greyscale or a coloured 3D image in the format : ImgHeight x ImgWidth x RGB channel. The second output is a Geographic raster reference object which ties the image to the EPSG:4326 geographic coordinate system.
For further understanding and how to use the function, I suggest you go through the examples in Mathworks Documentation.
2 件のコメント
Tarunbir Gambhir
2020 年 10 月 28 日
Based on my understanding, this information depends on the WMS layer you are using. A legend may be returned from the server along with the image to give you information about population density depending on the layer being used. You can go through the example on a Population Density WMS layer in this article.
Please note that the "wmsread" function relies on a stored list of servers responding in a specific way. The information returned by these servers are out on the internet and MathWorks cannot control them.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!