@offtherailz @aaime @nmco this proposal is for the creation of a new GetDomainValues endpoint to the WMTS MultiDimensional extension.
The goal is to let a client request a (paged) list of sorted unique domain values lower / greater then a certain value.
Description
The following request parameters should be implemented:
- LAYER: the (multi) dimensional layer we're asking the domain values
- DimensionIdentifier: the parameter will be the name of the LAYER's dimension we're querying (obtained from the GetCapabilities or the DescribeDomain results). The value is the lower / upper inclusive domain value
- ORDER: optional value to set the ordering, which also defines if the DimensionIdentifier value must be considered gte or lte. The parameter values can be asc | desc (asc will be the default)
- LIMIT: number of unique values we want to obtain, capped by a fixed limit configured server side (max_page_values). I.e. the number of returned values will be min(LIMIT,max_page_values)
To make the request truely "paged" another OFFSET parameter would help the client building the next requests. This parameter sets the unique domain values index offset starting from the DimensionIdentifier value.
E.g. give the next 20 values after the first 60 values (offset), starting from 2017-08-01T00:00:00.000
The OFFSET is not a hard requirements but a nice to have if not too much complicated to implement.
Sample requests
@offtherailz @aaime @nmco this proposal is for the creation of a new GetDomainValues endpoint to the WMTS MultiDimensional extension.
The goal is to let a client request a (paged) list of sorted unique domain values lower / greater then a certain value.
Description
The following request parameters should be implemented:
To make the request truely "paged" another OFFSET parameter would help the client building the next requests. This parameter sets the unique domain values index offset starting from the DimensionIdentifier value.
E.g. give the next 20 values after the first 60 values (offset), starting from 2017-08-01T00:00:00.000
The OFFSET is not a hard requirements but a nice to have if not too much complicated to implement.
Sample requests
http://server.com/ows?Service=WMTS&Request=GetDomainValues&Layer=&time=2017-08-01T00:00:00.000&Limit=20
will return the next 20 (or max_page_values) unique time values since 2017-08-01T00:00:00.000
http://server.com/ows?Service=WMTS&Request=GetDomainValues&Layer=&time=2017-08-01T00:00:00.000&Limit=20&Offset=20&Order=desc
will return the previous 20 (or max_page_values) values, before the first 20, since 2017-08-01T00:00:00.000