convert matlab results into a format useful for Qgis

조회 수: 17 (최근 30일)
ELISABETTA BILLOTTA
ELISABETTA BILLOTTA 2022년 6월 30일
답변: Pavan Sahith 2023년 10월 25일
I have a series of matrices which are the result of various operations and I have a graph produced with the contourf function which must be exported and used in Qgis. the values that I have obtained and that are visible on the graph must be georeferenced and inserted into Qgis with a DEM. How do you export the matlab files in shapefile format that can be used in Qgis? is there any further way to use these matlab results on qgis?
Can anyone help me?
  댓글 수: 4
ELISABETTA BILLOTTA
ELISABETTA BILLOTTA 2022년 6월 30일
there is this error:
Error using shapewrite
Expected input number 1, S, to be one of these types:
struct, table, mappoint, geopoint, mapshape, geoshape
Instead its type was double.
Victor Hormazábal Valderrama
Victor Hormazábal Valderrama 2023년 3월 7일
Hi ELISABETTA. Did you find a solution for this?

댓글을 달려면 로그인하십시오.

답변 (1개)

Pavan Sahith
Pavan Sahith 2023년 10월 25일
Hello,
I understand you want to transform MATLAB files to shapefile which can be used in QGIS.
Please refer to the following similar MATLAB answers, which will help you in solving your error.
How can I export a MATLAB contour as a polygon shapefile?
How to Export Contour Plot as Shape File if Output is of Data Type 'Double'?
Hope this helps
Thanks & Regards,
Pavan Sahith

Community Treasure Hunt

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

Start Hunting!

Translated by