Opened 9 years ago
Closed 9 years ago
#1246 closed defect (fixed)
WCPS1.5_Does not add default intervals when extend and translate slicing wrong value
Reported by: | Bang Pham Huu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
81-gtiff_extend.test
for t in (eobstest) return encode(extend( t[t(1)], { Long(-45:90), Lat(5:80) }), "tiff", "nodata=0" )
WCPS 1.5 returns error when only translate to t[9223372036854775807], it also translate wrong when using Maximum number of Long type (it should be t[1,*:*,*:*]).
<ows:ExceptionText>Error evaluating rasdaman query: 'SELECT encode(extend(t[9223372036854775807], [-140:129,-9:140]), "GTiff" , "nodata=0;xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326") FROM eobstest AS t</ows:ExceptionText> </ows:Exception> <ows:Exception exceptionCode="RasdamanRequestFailed"> <ows:ExceptionText>Error evaluating rasdaman query: 'SELECT encode(extend(t[9223372036854775807], [-140:129,-9:140]), "GTiff" , "nodata=0;xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326") FROM eobstest AS t</ows:ExceptionText> </ows:Exception> <ows:Exception exceptionCode="RuntimeError"> <ows:ExceptionText>org.odmg.QueryException : Execution error 405 in line 1, column 15, near token extend: First operand of shift function must be of type MDD.</ows:ExceptionText> </ows:Exception>
while Rasql from WCPS1.0
select encode(extend((t) [1,*:*,*:*],[-140:130,-9:141]), "GTiff", "nodata=0;xmin=-45.0;xmax=90.0;ymin=5.0;ymax=80.0;crs=EPSG:4326") from eobstest AS t where oid(t)=1537
Note:
See TracTickets
for help on using tickets.
patch was accepted, close ticket.