Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Matlab:将等高线图导出为shapefile(用于ArcGIS)_Matlab_Gis_Matlab Figure_Arcgis_Shapefile - Fatal编程技术网

Matlab:将等高线图导出为shapefile(用于ArcGIS)

Matlab:将等高线图导出为shapefile(用于ArcGIS),matlab,gis,matlab-figure,arcgis,shapefile,Matlab,Gis,Matlab Figure,Arcgis,Shapefile,我有一个区域风速的等高线图,我用等高线绘制了它们 [C,h] = contour(X,Y,Z,labels,'ShowText','on'); 我还绘制了同一区域上的点 scatter(Lat,Lon,1,g_xy,'filled'); 我把情节弄清楚了。现在我需要将等高线(及其关联的Z值)和点(以及关联的g_xy值)导出到要在ArcMap中读取的形状文件中。我试过shapewrite()。以下是等高线中的C示例: C'= 20 10

我有一个区域风速的等高线图,我用等高线绘制了它们

[C,h] = contour(X,Y,Z,labels,'ShowText','on');
我还绘制了同一区域上的点

scatter(Lat,Lon,1,g_xy,'filled');
我把情节弄清楚了。现在我需要将等高线(及其关联的Z值)和点(以及关联的g_xy值)导出到要在ArcMap中读取的形状文件中。我试过
shapewrite()
。以下是等高线中的C示例:

    C'=
20                        10
     -86.7200792311765          40.1022024035438
     -86.7887439017497          40.1103844954622
     -86.7686464894118          40.1157769184285
因此,我不知道如何使shapefile同时具有轮廓的lat/long和值,以及如何导出点


有什么想法吗?

为什么不将
(x,y,z)
坐标导出到ArcGIS并从中生成shapefile?嗨@Adrian,这也可以,但我需要创建许多shapefile。ArcGIS有一个内置的Python模块,不是吗?QGIS,一个免费的客户端,确实有这样的功能,我想你可以编写一个python宏来加载所有坐标文件并在一次点击中转换成一个shapefile。我会尝试一种自动化的方法。