如何获得writeRaster和rast函数自动识别的文件扩展名列表,用于写入和读取不同的光栅文件格式?
发布于 2020-12-16 06:37:34
您可以在this file的第50行看到用于确定要写入的文件格式的扩展名。这最终应该会出现在文档中。
读取不是基于扩展名的。使用开发版本,您可以获得受支持格式的列表,如下所示:
d <- gdal(drivers=TRUE)
head(d)
# name type can long.name
#1 AAIGrid raster write Arc/Info ASCII Grid
#2 ACE2 raster read ACE2
#3 ADRG raster write ARC Digitized Raster Graphics
#4 AIG raster read Arc/Info Binary Grid
#5 AirSAR raster read AirSAR Polarimetric Image
#6 ARG raster write Azavea Raster Grid format https://stackoverflow.com/questions/65314437
复制相似问题