Opened 13 years ago
Closed 12 years ago
#64 closed defect (fixed)
Mixing triming and slicing in WCPS fails
Reported by: | Dimitar Misev | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | petascope | Version: | |
Keywords: | Cc: | p.baumann@…, Piero Campalani | |
Complexity: | Medium |
Description (last modified by )
The query below fails with error from the parser
line 3:10 mismatched input '[' expecting COMMA
for c in ( NDVI_AMAZON ) return encode( c[t(5),x(0:20),y(0:20)] , "png" )
a quick fix is to separate the slicing and triming like this:
for c in ( NDVI_AMAZON ) return encode ( (c[x(0:20),y(0:20)])[t(0)] , "png" )
Change History (2)
comment:1 by , 13 years ago
Component: | java → petascope |
---|---|
Description: | modified (diff) |
comment:2 by , 12 years ago
Cc: | added; removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed