【发布时间】:2019-04-22 21:05:27
【问题描述】:
希望在编写栅格堆栈时保留栅格图层的名称
我已尝试使用显示的代码,此代码未显示错误,但该位置未显示那里写入的任何文件。
MosaicedA<- mosaic(Stacked1A,Stacked2A, fun=mean, tolerance=0.5)
names(MosaicedA)<-c('one','Two','three')
################################################################
writeRaster(MosaicedA,filename = names(MosaicedA),bylayer=TRUE,format="ENVI",overwrite=TRUE, "C:/Users/rajeev.bhattarai/Documents/Research/Testing/Rajeev.envi" )
【问题讨论】: