wmsread 3D output explanation
조회 수: 6 (최근 30일)
이전 댓글 표시
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!