Changes between Initial Version and Version 1 of Ticket #1965


Ignore:
Timestamp:
Aug 14, 2019, 1:37:30 PM (5 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1965

    • Property Owner set to apercov
    • Property Priority criticalmajor
    • Property Status newassigned
  • Ticket #1965 – Description

    initial v1  
    1 There's only this tile in the array:
     1To reproduce the problem:
    22{{{
    3 [27000:27848,-17000:-16000]
     3rasql --user rasadmin --passwd rasadmin -q \
     4'create collection NEXTMap_5_DTM GreySet'
     5
     6rasql --user rasadmin --passwd rasadmin -q \
     7'insert into NEXTMap_5_DTM values
     8 marray i in [27000:27848,-17000:-16000] values 1c'
     9
     10rasql -q 'Select sdom( c[27266:27548, -17042:-16952] )
     11          FROM NEXTMap_5_DTM as c' --out string | grep Result
     12
     13rasql -q 'Select count_cells( c[27266:27548, -17042:-16952] != 1c )
     14          FROM NEXTMap_5_DTM as c' --out string | grep Result
    415}}}
    5 This subset query returns result array that doesn't match the subset domain:
     16It should print
    617{{{
    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}}}
     22But currently it prints
     23{{{
    924  Result element 1: [27266:27548,-17000:-16952]
     25
     26  Result element 1: 13867
    1027}}}
    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]`.
     28In 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]`.