Opened 18 months ago
Closed 17 months ago
#2736 closed defect (invalid)
rasql - FIX - error with Value expression must be either of type atomic or complex — at Version 1
Reported by: | Bang Pham Huu | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 10.2 |
Component: | rasserver | Version: | 10.2 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description (last modified by )
SELECT encode( ( add_cells( add_cells( ( ( ( ( ( c[16:35,42:60] ) - ( project( d[16:35,42:60], "119.975,-39.474999999999987,129.975,-29.974999999999987", "EPSG:4326", "EPSG:4326", cubicspline ) ) ) * ( ( ( c[16:35,42:60] ) - ( project( d[16:35,42:60], "119.975,-39.474999999999987,129.975,-29.974999999999987", "EPSG:4326", "EPSG:4326", cubicspline ) ) ) > 0 ) ) * 5 ) ) ) * ( MARRAY i in [16:35] VALUES ( <[0:1] 4.5846843086,4.5846848184> ) ) ) ) / ( ( 60 - 42 + 1 ) * ( 35 - 16 + 1 ) ) , "json" , "{\"nodata\":[]}") FROM test_mean_summer_airtemp AS c, test_mean_summer_airtemp AS d
error
Execution error 412 in line 0, column 0, near token : Value expression must be either of type atomic or complex.
Change History (1)
comment:1 by , 17 months ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Yes in this MARRAY the VALUES isn't an expression producing a scalar value but an array value:
Only scalar expressions are allowed.