Opened 11 years ago
Last modified 10 years ago
#767 closed defect
band names shown in dbinfo() differ from designated during rasimport — at Initial Version
Reported by: | gxinghua | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.0.x |
Component: | rasgeo | Version: | development |
Keywords: | rasimport, marray type, band name | Cc: | Piero Campalani |
Complexity: | Medium |
Description
ingest a 3_band image using "rasimport -f SampleDataset/2D_multiband/N-32-50_ul_2000.tif —coll Multiband -t MultibandImage:MultibandSet —crs-uri '%SECORE_URL%/crs/EPSG/0/32632' —crs-order 0:1 —coverage-name Multiband".
The MultibandImage is defined as :
struct MultibandPixel { char band1, band2, band3; }; typedef marray <MultibandPixel,2> MultibandImage; typedef set<MultibandImage> MultibandSet;
But after ingesttion, "rasql -q 'select dbinfo(e) from Multiband as e' —out string" gives the type info:
"baseType": "marray <struct { char red, char green, char blue }>".
The preinstalled RGBImage:RGBSet type is already exist in rasdaman.
Seemingly it happens only when import 3 char band image. As test with a 4 char band image, the problem do not happen.