Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#122 closed defect (fixed)

Error retrieving data from fragmented collections

Reported by: barboni@… Owned by: Dimitar Misev
Priority: critical Milestone: 8.4
Component: rasserver Version: 8.3
Keywords: rasql, sdom Cc: beccati@…
Complexity: Medium

Description

I have an object that is composed by sparse images.
The object have a very large space domain but lots of holes.
When i request data inside the spacial domain, if there aren't valid
images, rasdaman return an error.

The following query reproduce (and emphasize) the problem.
#insert first image at [0,0]
rasql -q "insert into mr values inv_tiff(\$1)" -f mr_1.tif —user
rasadmin —passwd rasadmin
#insert second image at [100000,100000]
rasql -q "update mr as m set m assign shift(inv_tiff(\
$1),[100000,100000]) where oid(m)=31745" -f mr_1.tif —user rasadmin
—passwd rasadmin
#check sdom
rasql -q "select sdom(m) from mr as m where oid(m)=31745" —out string
Result element 1: [0:100255,0:100210]
#select between the two images inserted
rasql -q "select tiff(m[50000:50100,50000:50100]) from mr as m where
oid(m)=31745" —out file
Executing retrieval query…rasdaman error 356: Execution error 356 in
line 0, column 0, near token : Specified domain does not intersect with
spatial domain of MDD.

The expected output is a tiff image filled by "NULLVALUE"

Follows the error logged by rasdaman and the OS details.

Ciao

Damiano

[2012-02-21 14:36:49] request from 192.168.0.187
Request: 'select tiff(m[50000:50100,50000:50100]) from mr as m where
oid(m)=31745'…parsing…checking semantics…evaluating…Error:
QtDomainOperation::evaluate() - the load domain does not intersect with
tiles in the current MDD.
QueryTree::evaluateTree() - rethrow exception.
Error: cannot parse query (1).
Error number: 356 Token: Line: 0 Column: 0
[2012-02-21 14:36:49] request completed in 179970 usecs.

Rasdaman Info:
Rasdaman v 8.3
commit 7d94ed6abfd88fd26141ecbd595bd6bf478a1a5b
Date: Tue Feb 14 15:17:38 2012 +0100

OS info:
lsb_release -a
LSB
Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description: Scientific Linux release 6.0 (Carbon)
Release: 6.0
Codename: Carbon

gcc —version
gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)
Copyright © 2010 Free Software Foundation, Inc.

Change History (6)

comment:1 by Dimitar Misev, 13 years ago

Owner: set to Dimitar Misev
Status: newaccepted

comment:2 by Dimitar Misev, 13 years ago

Resolution: fixed
Status: acceptedclosed

Submitted patch

comment:3 by barboni@…, 12 years ago

Ciao Dimitar and thanks

I can confirm that Ticket #122 is closed.
I tested this issue today, also with 3D collection, and now Rasdaman works well.

Damiano

comment:4 by Dimitar Misev, 12 years ago

Priority: majorcritical
Resolution: fixed
Status: closedreopened

The bug still persist with float data.

comment:5 by Dimitar Misev, 12 years ago

Resolution: fixed
Status: reopenedclosed

I hope the latest patch fixes it.

comment:6 by Dimitar Misev, 12 years ago

Complexity: Medium
Milestone: 8.4
Note: See TracTickets for help on using tickets.