Opened 13 years ago
Closed 12 years ago
#123 closed enhancement (fixed)
Updating an MDD which intersects with the source array
Reported by: | Dimitar Misev | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 8.4 |
Component: | qlparser | Version: | 8.3 |
Keywords: | Cc: | Peter Baumann | |
Complexity: | Medium |
Description (last modified by )
When updating a target MDD T (orange) with a replacement MDD M (red) which intersects T, only the part of T that intersects M will get updated, without materializing the rest and expanding the spatial domain.
This should be fixed to materialize the non-overlapping area as well, accordingly updating the spatial domain.
Attachments (5)
Change History (13)
by , 13 years ago
Attachment: | overlap.png added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 12 years ago
by , 12 years ago
Attachment: | Ticket_123.tar.gz added |
---|
comment:4 by , 12 years ago
summarizing :
$ python testKO.py
inserd data on non-materialized SDOM and produce the wrong image "testKO.tif"
$ python testOK.py
inserd data on materialized SDOM and produce the correct image "testOK.tif"
damiano
comment:5 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hmm my simple tests with csv output have worked fine, maybe this is some problem with the tif converter, I have to check it.
comment:6 by , 12 years ago
Ciao Dimitar
The problem for me is not related to the tif converter and in general with data extraction but with the MDD SDOM extension during data insert.
The data extracted in csv and png format present the same problem of tiff images (see attached files).
You can try my simple python script "testKO.py" to insert a series of overlapped images and reproduce the error.
Damiano
by , 12 years ago
Attachment: | rasql_1.csv added |
---|
by , 12 years ago
Attachment: | rasql_1.png added |
---|
by , 12 years ago
Attachment: | rasql_1.tif added |
---|
comment:7 by , 12 years ago
Damiano, I submitted a patch that should fix this, please verify and let me know.
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Hello Dimitar
I'm sorry, the ticket #73 can be considered closed but #123 not. The update on a 3D collection currently doesn't work well.
After some update you can observe that the images are non inserted correctly and appears some strange values.
You can reproduce the problem running my attached python script "testKO.py".
the script:
Materializing the SDOM before start the update works.
The python script "testOK.py" works as the previous but before start update it initialize the space with a black marray: "rasql -q 'insert into test values marray x in[6:6,0:200,0:200] values 0c' —user rasadmin —passwd rasadmin"
It seems that problem happens only when rasdaman try to expand SDOM and the images are overlapped.
Ciao
Damiano
P.S.
I leave this ticket as closed because i don't have permission to reopen.
commit dfab54ff153ba4c0093e04d9d4e0db4fe9571115
Author: Dimitar Misev <misev@…>
Date: Fri May 25 13:15:31 2012 +0200
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)