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 Initial Version

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

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 "2014-01-10".

<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 (0)

Note: See TracTickets for help on using tickets.