Opened 3 years ago

Closed 2 years ago

#767 closed defect (invalid)

band names shown in dbinfo() differ from designated during rasimport

Reported by: gxinghua Owned by: gxinghua
Priority: major Milestone: 9.0.x
Component: rasgeo Version: development
Keywords: rasimport, marray type, band name Cc: pcampalani
Complexity: Medium

Description (last modified by gxinghua)

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:

> rasdl -p | grep MultibandImage
typedef marray <struct { char band1, char band2, char band3 }, 2> MultibandImage;
typedef set <MultibandImage> MultibandSet;

But after ingesttion, "rasql -q 'select dbinfo(e) from Multiband as e' --out string" gives the type info:

> rasql -q 'select dbinfo(test3band) from test3band' --out string | grep baseType
 "baseType": "marray <struct { char red, char green, char blue }>",

Seemingly it happens only when import 3 char band image. As test with a 4 char band image, the problem do not happen.

Change History (4)

comment:1 Changed 3 years ago by gxinghua

  • Cc pcampalani added
  • Priority changed from minor to major

comment:2 Changed 3 years ago by dmisev

  • Owner changed from dmisev to gxinghua
  • Status changed from new to assigned

comment:3 Changed 3 years ago by gxinghua

  • Description modified (diff)

comment:4 Changed 2 years ago by dmisev

  • Resolution set to invalid
  • Status changed from assigned to closed

It seems to have happened due to some local issue.

Note: See TracTickets for help on using tickets.