Opened 8 years ago

Closed 8 years ago

#1226 closed defect (fixed)

WCPS1.5_Error when encode output to tiff

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: WCPS 2.0, error in convert WCPS Cc: Dimitar Misev, Vlad Merticariu, Alex Dumitru
Complexity: Medium

Description

WCPS query

for c in (rgb) return encode( exp((c.1)[ i(000:400), j(000:450) ]/ 100000) , "tiff")

in WCPS 1.5, It returns error

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0.0" xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>Runtime error while processing request</ows:ExceptionText>
</ows:Exception>
<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>java.lang.NullPointerException : null</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

while WCPS 1.0 it will returns Rasql query

select encode(exp((((c).1[0:400,-107:343])/(100000))),
 "GTiff", 
"xmin=0.0;xmax=400.0;ymin=0.0;ymax=450.0;crs=OGC:Index2D")
 from rgb AS c where oid(c)=45057

and download the file.

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

Close ticket as it was fixed in another patch.

Note: See TracTickets for help on using tickets.