如何在PostgreSQL数据库中保存栅格波段名称?

时间:2019-11-05 08:30:17

标签: postgresql qgis wms

是否有任何方法可以将* .hdr文件(ENVI文件)中的“乐队名称”存储在PostgreSQL数据库(9.5版)中? 之后,我想用QGIS创建一个WMS / WCS。我想要的是通过WMS / WCS(或直接DB连接)使用“对象查询”来查看QGIS中的波段名称。例如:

QGIS 3 example band names

数据通过“ raster2pgsql”上传。

这里* .hdr文件:

ENVI
samples = 5000
lines   = 5000
bands   = 5
data type = 12
interleave = bsq
file type = ENVI Standard
header offset = 0
byte order = 0
map info = {UTM, 1.000, 1.000, 619500.500, 5784499.500, 5.000000e+000, 5.000000e+000, 32, North, D_ETRS 1989, units=Meters}
coordinate system string = {PROJCS["UTM_Zone_32N",GEOGCS["GCS_ETRS 1989",DATUM["D_ETRS 1989",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",9.0],PARAMETER["scale_factor",0.9996],PARAMETER["latitude_of_origin",0.0],UNIT["Meter",1.0]]}
band names = {
 Band_1, Values, test, 4, ERRORs}

0 个答案:

没有答案