Opened 6 years ago

Last modified 6 years ago

#1830 closed enhancement

WSClient - Validate the trimming, slicing on axes in GetCoverage tab after users input data — at Version 1

Reported by: Bang Pham Huu Owned by: bciurezu
Priority: major Milestone: 9.7
Component: wcsclient Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description (last modified by Bang Pham Huu)

In WSClient → WCS → GetCoverage tab, users can adjust the values for trimming, slicing on axes (regular, irregular).

example: https://imgur.com/a/b8pcwEn

However, these input values are not validated (check input data is valid). So, after users input data in text boxes for trimming, slicing, it needs to validate immediately and show the error text inline on the right-hand side of text boxes.

+ For trimming axes: input values must ≥ axes' min values and ⇐ axes' max values.
+ For slicing axes: same as above, except for irregular axis, the slicing value must match completely with the list of values of this axis as it comes from DescribeCoverage's result (element: <gmlrgrid: coefficients>), e.g: below are the valid values for irregular time axis and one cannot input "2008-01-02" even though it belongs to [min, max] of time axis).

<gmlrgrid:coefficients>"2008-01-01T02:01:20.000Z" "2008-01-03T23:59:55.000Z" "2008-01-05T01:58:30.000Z" "2008-01-08T00:02:58.000Z"</gmlrgrid:coefficients>

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.