Changes between Initial Version and Version 1 of Ticket #1965
- Timestamp:
- Aug 14, 2019, 1:37:30 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1965
- Property Owner set to
- Property Priority critical → major
- Property Status new → assigned
-
Ticket #1965 – Description
initial v1 1 T here's only this tile in the array:1 To reproduce the problem: 2 2 {{{ 3 [27000:27848,-17000:-16000] 3 rasql --user rasadmin --passwd rasadmin -q \ 4 'create collection NEXTMap_5_DTM GreySet' 5 6 rasql --user rasadmin --passwd rasadmin -q \ 7 'insert into NEXTMap_5_DTM values 8 marray i in [27000:27848,-17000:-16000] values 1c' 9 10 rasql -q 'Select sdom( c[27266:27548, -17042:-16952] ) 11 FROM NEXTMap_5_DTM as c' --out string | grep Result 12 13 rasql -q 'Select count_cells( c[27266:27548, -17042:-16952] != 1c ) 14 FROM NEXTMap_5_DTM as c' --out string | grep Result 4 15 }}} 5 This subset query returns result array that doesn't match the subset domain: 16 It should print 6 17 {{{ 7 $ rasql -q 'Select sdom( c[27266:27548, -17042:-16952] ) 8 FROM NEXTMap_5_DTM as c' --out string | grep Result 18 Result element 1: [27266:27548,-17042:-16952] 19 20 Result element 1: 25753 21 }}} 22 But currently it prints 23 {{{ 9 24 Result element 1: [27266:27548,-17000:-16952] 25 26 Result element 1: 13867 10 27 }}} 11 In the query the subset `[27266:27548, -17042:-16952]` is slightly outside the tile domain, and for some reason it's automatically reduced to fit in the tile domain `[27266:27548,-17000:-16952]`.28 In the query the subset `[27266:27548, -17042:-16952]` is slightly outside the array sdom (on the second dimension, `-17042:-17001` is outside of `-17000:-16000`), and for some reason it's automatically reduced to fit in the tile domain `[27266:27548,-17000:-16952]`.