Matlab shapewrite:导出点shapefile +设置投影到WGS84

问题描述 投票:0回答:1

我需要从Matlab导出一个点shapefile,但我无法弄清楚如何使用shapefile将坐标设置为WGS84(可能是最常见的坐标)。这似乎是一项非常重要的任务。

命令是:

Struct2GIS = struct('Geometry', 'Point',...
'OutputVariable1', num2cell(Var1), ...
'OutputVariable2', num2cell(Var2), ...
'OutputVariable3', num2cell(Var3),...
'OutputVariable4', num2cell(Var4),...
'X',num2cell(Lon),'Y', num2cell(Lat));

shapewrite(Struct2GIS,Filename)

有什么想法吗?谢谢!

matlab gis map-projections
1个回答
0
投票

这是我的解决方法:在将shapefile加载到Arc之前,在ArcCatalog中,我右键单击文件名,选择Properties,然后告诉它Coordinate系统是什么。不太理想,但它的工作原理。

© www.soinside.com 2019 - 2024. All rights reserved.