Changes between Initial Version and Version 1 of Ticket #1698


Ignore:
Timestamp:
Feb 20, 2018, 10:04:36 AM (7 years ago)
Author:
Bang Pham Huu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1698 – Description

    initial v1  
    33
    44{{{
     5e.g: input file is encoded PNG
    56$RASQL -q "insert into $TEST_SUBSETTING_1D values decode(\$1)"
    6 -f "$TESTDATA_PATH/101.bin"
    7  --mdddomain "[0:100]" --mddtype GreyString > /dev/null
     7-f "$TESTDATA_PATH/mr.png"
     8  > /dev/null   
     9
     10then MDDdomain is: "[0:filesize-1]" and MDDtype is: GreyString by default when these parameters (--mdddomain, --mddtype not specified).
    811}}}
     12
     13if the input file is raw binary without encoded values, then it needs the --mddomain, --mddtype
     14e.g:
     15
     16{{{
     17$RASQL -q "insert into $TEST_SUBSETTING_1D values \$1"
     18 -f "$TESTDATA_PATH/101.bin" --mdddomain "[0:100]" --mddtype GreyString > /dev/null
     19}}}
     20
    921
    1022which in Python code, it creates a POST request like this to send to rasserver as in rasj via protobuf to import data from file into collection, e.g: