Opened 9 years ago

Closed 8 years ago

#1177 closed defect (fixed)

Download multipart error in WCSClient

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: petascope Cc: Dimitar Misev, Alex Dumitru
Complexity: Medium

Description

In WCSClient, I see a checkbox named multipart and it will create this query

http://localhost:8080/rasdaman/ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=mr&FORMAT=image/jp2&MEDIATYPE=multipart/related

However, it will throw error

<ows:ExceptionText>
Error executing rasql query: Error evaluating rasdaman query: 'select encode(c, "JP2OpenJPEG", "CODEC=jp2;xmin=0.0;xmax=255.0;ymin=0.0;ymax=210.0;crs=OGC:Index2D;config=GMLJP2OVERRIDE /tmp/mr_jp2openjpeg5713770897590528779.tmp") from mr AS c where oid©=1025
</ows:ExceptionText>
</ows:Exception>
<ows:Exception exceptionCode="RasdamanRequestFailed">
<ows:ExceptionText>
Error evaluating rasdaman query: 'select encode(c, "JP2OpenJPEG", "CODEC=jp2;xmin=0.0;xmax=255.0;ymin=0.0;ymax=210.0;crs=OGC:Index2D;config=GMLJP2OVERRIDE /tmp/mr_jp2openjpeg5713770897590528779.tmp") from mr AS c where oid©=1025
</ows:ExceptionText>
</ows:Exception>
<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>
org.odmg.QueryException : Unexpected internal server error.

Also, only JP2000 is support to have download in multipart, the other encode like png, tiff, netcdf has error or just blank page, e.g

http://localhost:8080/rasdaman/ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=mr&FORMAT=image/png&MEDIATYPE=multipart/related

No appropriate format extension was found that can handle the request for format : image/png

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Milestone: 9.29.3
Resolution: fixed
Status: newclosed

The multipart is supported in the patch ticket 1188 WCPS, close ticket here.

Note: See TracTickets for help on using tickets.