- 0
- 0
- 约2.26千字
- 约 4页
- 2026-02-06 发布于四川
- 举报
ENVI植被覆盖指数计算器几点说明
1.首先检查矢量文件属性在ENVI中是否乱码
在LayerManager中,右键shp图层View/EditAttributes;
如果出现下面属性乱码的情况,补丁在分区统计时会出错。
解决方法:
在ArcGIS桌面中打开矢量文件,在图层中右键DataExportData,重新导出一份shp文
件,然后再在ENVI中打开,查看是否乱码。
2.万一统计出错?
统计出错,一般是由于上面描述的矢量属性乱码问题导致的,但其实指数栅格结果已经计
算完成,下面只需要进行统计即可。做法如下:
1)按照上面的方法,把矢量属性乱码问题解决掉;
2)将envi_zonal_statistics.sav文件拷贝到如下路径(已上传群文件):
C:\ProgramFi\Exelis\ENVI53\extensions\
3)重启ENVI;
4)使用没有乱码的矢量,和之前出错时计算出的指数栅格结果,重新统计即可。省去了重
新计算指数栅格结果的过程。
补丁使用说明:
ENVIVegetationCoverIndexCalculator:AFew
Notes
1.First,CheckiftheVectorFileAttributesareGarbledinENVI
IntheLayerManager,right-clicktheshplayerandselectView/Edit
Attributes;
Iftheattributesappeargarbled,thepatchwillcauseerrorsduringzonal
statistics.
Solution:
OpenArcGISDesktop,right-clickonthevectorfileinthelayerpanelDataExportData,andre-exporttheshp
file.ThenopenitinENVItocheckifthereareanycharacterissues.
2.Whatifthestatisticsare
incorrect?
Ifstatisticsfail,itisusuallyduetothecharacterencodingissuesinthevectorattributesdescribedabove.
However,theindexrasterresultshavealreadybeencalculated.Youjustneedtoperformthestatisticsnow.The
stepsareasfollows:
1)Followthemethoddescribedabovetoresolvethevectorattribute
garblingissue;
__
2)Copytheenvizonalstatistics.savfiletothefollowingpath(filehasbeen
uploadedtothegroup):C:\ProgramFi\Exelis\ENVI5
原创力文档

文档评论(0)