Opened 3 years ago

Closed 21 months ago

#876 closed enhancement (fixed)

Support image/png output with WCS GetCoverage requests

Reported by: jpass Owned by: bphamhuu
Priority: major Milestone: 9.2
Component: petascope Version: development
Keywords: Cc: mdumitru, pbaumann
Complexity: Medium


image/png output is supported for WCPS requests but not currently for WCS GetCoverage? requests.

For example:

Gives the following error:

<ows:ExceptionReport version="2.0.0" xsd:schemaLocation="" xmlns:ows="" xmlns:xsd="" xmlns:xlink="">
<ows:Exception exceptionCode="NoApplicableCode">
No appropriate format extension was found that can handle the request for format : image/png

Can png support be added to Petascope for such requests?

Change History (9)

comment:1 Changed 2 years ago by dmisev

  • Milestone changed from 9.1 to 9.2

comment:2 Changed 22 months ago by dmisev

  • Owner changed from mdumitru to bphamhuu
  • Status changed from new to assigned

comment:3 Changed 22 months ago by bphamhuu

  • Cc mdumitru added

comment:4 Changed 22 months ago by bphamhuu

I've submitted a patch today ([PATCH] ticket:876 - Support image/png output with WCS GetCoverage? requests ) please have a look and comment before Dimitar can accept.


comment:5 Changed 22 months ago by mdumitru

@Bang Patch looks good on my side. However taking into consideration ticket:1039 I think it might be best to integrate all formats in your new class and maybe rename it to something like GeneralFormatExtension??

@Peter Do we want to support all formats that gdal supports or just a limited subset of them? The list is quite big

comment:6 Changed 22 months ago by mdumitru

  • Cc pbaumann added

comment:7 Changed 22 months ago by bphamhuu

@Alex: I agree with you, thanks for review. In fact, it starts from and at that time it should be make only class to handle request "format extension". I also think it is good that can encode/decode many kinds of format as GDAL can do (but if rasql can do this then there will no problem because Petascope only generate RASQL query).

comment:8 Changed 22 months ago by mdumitru

Comments by Peter from the duplicate ticket:

3 issues:
​ does not exist
comment has bad grammar
insufficient test cases

comment:9 Changed 21 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed

All of the comments has been fixed and accepted by the earlier patch. I will close this ticket in here.

Note: See TracTickets for help on using tickets.