12 | | From that I understand, this feature is not available in both RasdaPy and Rasj (in Petascope, it seems can send only the rasql query only to insert/update/select without other parameters) and it can only handle the rasql query inside the --query parameter 'insert into ...'. |
| 12 | From that I understand and need to verify, this feature is not available in RasdaPy. |
| 13 | In rasj, Dimitar's example shows it can support mddtype, mddarray |
| 14 | |
| 15 | |
| 16 | {{{ |
| 17 | // create 2-D MDD with cell length 1, i.e., type byte: |
| 18 | RasGMArray myMDD = |
| 19 | new RasGMArray(new RasMInterval( "[1:400,1:400]" ), 1 ); |
| 20 | // assume that there is some byte array prepared, insert it: |
| 21 | myMDD.setArray( mydata ); |
| 22 | // set image type name |
| 23 | // (see distribution file examples/rasdl/basictypes.dl): |
| 24 | myMDD.setObjectTypeName("GreyImage") |
| 25 | |
| 26 | }}} |
| 27 | |