Opened 5 years ago

Closed 5 years ago

#144 closed defect (fixed)

Problem to scale data with more than 2 dimensions using a scale factor

Reported by: barboni@… Owned by: pbaumann
Priority: major Milestone: 8.4
Component: compression Version: 8.3
Keywords: rasdl Cc:


bug derived by a discussion on rasdaman-users mailing list at

rasql scale function return one error [1] if used with a "scale factor" over multidimensional data (more than 2 dimensions) [2]

The same query with a specific Z-value "150128" instead the Z-range "150128:150138" works [3]

Using a specific target domain [4] the scale function works


Executing retrieval query...rasdaman error 419: Execution error 419 in line 1, column 8, near token scale: Could not scale the domain.

'select scale(m[4163:5967,54485:57118,150128:150138], 0.5) from MER_SPCL56_32632_100 as m'

'select scale(m[4163:5967,54485:57118,150128], 0.5) from MER_SPCL56_32632_100 as m'

'select png(scale(m[4383:5654,54682:56243,150128:150138], [0:127,0:156,0:0])) from MER_SPCL56_32632_100 as m'

OS info:
lsb_release -a
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 (C) 2010 Free Software Foundation, Inc.

java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea??6 1.10.6) (rhel-
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

tomcat6 version
Server version: Apache Tomcat/6.0.24
Server built: December 5 2011 1239
Server number:
OS Name: Linux
OS Version: 2.6.32-220.4.1.el6.x86_64
Architecture: amd64
JVM Version: 1.6.0_22-b22
JVM Vendor: Sun Microsystems Inc.

Change History (1)

comment:1 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed

Submitted patch

Note: See TracTickets for help on using tickets.