#1177 closed defect (fixed)

Download multipart error in WCSClient

Reported by: bphamhuu Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: petascope Cc: dmisev, mdumitru
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(c)=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(c)=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 Changed 15 months ago by bphamhuu

  • Milestone changed from 9.2 to 9.3
  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.