Opened 5 years ago

Closed 5 years ago

#2218 closed enhancement (fixed)

WSClient - Select output format based on coverage's dimensions in WCS GetCoverage tab

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcsclient Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu, Peter Baumann
Complexity: Medium

Description

In WCS GetCoverage tab, default output format is GML. It can be enhanced to be more practical by default:

  • If the result is 2D: output format is set to TIFF
  • Otherwise: output format is set to netCDF

Change History (4)

comment:1 by Vlad Merticariu, 5 years ago

I would say for 2D jpeg is also a good candidate. Could we add a config file, like wcs-client.properties where this can be set, along with other options (such as disabling certain tabs)?

The file can be stored in rasdaman/etc, next to petascope.properties, read by petascope and served to the wcs-client.

comment:2 by Bang Pham Huu, 5 years ago

wcs-client.properties in /opt/rasdaman/etc

I also have same thought as Vlad. It is more flexible to configure WSClient's features (at least with enable / disable).

comment:3 by Dimitar Misev, 5 years ago

I'd avoid having a configuration file unless absolutely necessary.

jpeg would only work if the data is 2D and char, other cell types will not work. Also I think it doesn't embed geo information.

comment:4 by Bang Pham Huu, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.