Changes between Initial Version and Version 3 of Ticket #767


Ignore:
Timestamp:
Aug 19, 2014, 1:11:43 PM (10 years ago)
Author:
gxinghua
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #767

    • Property Cc Piero Campalani added
    • Property Priority minormajor
    • Property Status newassigned
    • Property Owner changed from Dimitar Misev to gxinghua
  • Ticket #767 – Description

    initial v3  
    11ingest 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".
    22
     3The !MultibandImage is defined as:
     4{{{
     5> rasdl -p | grep MultibandImage
     6typedef marray <struct { char band1, char band2, char band3 }, 2> MultibandImage;
     7typedef set <MultibandImage> MultibandSet;
     8}}}
    39
    4 The !MultibandImage is defined as :
     10But after ingesttion, "rasql -q 'select dbinfo(e) from Multiband as e' --out string" gives the type info:
    511{{{
    6 struct MultibandPixel { char band1, band2, band3; };
    7 typedef marray <MultibandPixel,2> MultibandImage;
    8 typedef set<MultibandImage> MultibandSet;
     12> rasql -q 'select dbinfo(test3band) from test3band' --out string | grep baseType
     13 "baseType": "marray <struct { char red, char green, char blue }>",
    914}}}
    10 But after ingesttion, "rasql -q 'select dbinfo(e) from Multiband as e' --out string" gives the type info:
    11 
    12 "baseType": "marray <struct { char red, char green, char blue }>".
    13 
    14 The preinstalled RGBImage:RGBSet type is already exist in rasdaman.
    1515
    1616Seemingly it happens only when import 3 char band image. As test with a 4 char band image, the problem do not happen.