Opened 8 years ago
Last modified 7 years ago
#1335 closed defect
Rasql_Range constructor error in 3D coverages and binary expression of ranges — at Version 1
Reported by: | Bang Pham Huu | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.4 |
Component: | rasql | Version: | development |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description (last modified by )
tyrol_6 is a 3D coverage with time axis and multi bands.
with Rasql from WCPS 1.0 like
for c in (tyrol_6) return encode({ red: (c.swir2)[ansi("2015-06-01")]; green: (c.nir)[ansi("2015-06-17")]; blue: (c.red) [ansi("2015-06-01")]}, "png") &wcpsVersion=2.0
select encode(((((c).5) [*:*,*:*,0]) * {1c,0c,0c} + (((c).3) [*:*,*:*,1]) * {0c,1c,0c} + (((c).2) [*:*,*:*,0]) * {0c,0c,1c}), "PNG") from tyrol_6 AS c where oid(c)=113153
but with the new Range constructor syntax, it cannot run
select encode({ (c.5) [*:*, *:*, 0], (c.3) [*:*, *:*, 1], (c.4) [*:*, *:*, 0] }, "png") from tyrol_6 as c
with error
Executing retrieval query...rasdaman error 0: Internal server error. aborting transaction...E0530 09:37:23.696225185 9757 cp_client_posix.c:171] failed to connect to 'ipv4:10.70.11.237:7002': socket error: connection refused
Another example is when use binary expression of a range constructor with a sacalar value
SELECT encode( {c.0,c.1} * 5 , "csv" ) FROM irr_cube_2 AS c
which returns error
opening database RASBASE at localhost:7001...ok Executing retrieval query...rasdaman error 0: Internal server error. aborting transaction...E0531 08:05:26.991749410 22900 tcp_client_posix.c:171] failed to connect to 'ipv4:10.70.11.237:7002': socket error: connection refused
Change History (1)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Summary: | Rasql_Range constructor error in 3D coverages → Rasql_Range constructor error in 3D coverages and binary expression of ranges |
Note:
See TracTickets
for help on using tickets.