Changes between Initial Version and Version 1 of Ticket #1698
- Timestamp:
- Feb 20, 2018, 10:04:36 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1698 – Description
initial v1 3 3 4 4 {{{ 5 e.g: input file is encoded PNG 5 6 $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 10 then MDDdomain is: "[0:filesize-1]" and MDDtype is: GreyString by default when these parameters (--mdddomain, --mddtype not specified). 8 11 }}} 12 13 if the input file is raw binary without encoded values, then it needs the --mddomain, --mddtype 14 e.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 9 21 10 22 which 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: