Skip to content

Process the subTemporalValue parameter - #62

Merged
estebanzimanyi merged 1 commit into
masterfrom
fix/subtemporalvalue
Aug 29, 2026
Merged

Process the subTemporalValue parameter#62
estebanzimanyi merged 1 commit into
masterfrom
fix/subtemporalvalue

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

subTemporalValue selects the subsequence of a temporal property clipped to the datetime interval, which is what Part 1 states it does: under the flag the datetime parameter is a bounded interval and leaf is not used. A request carrying the flag without a bounded interval is refused with 400, and one carrying leaf beside it is answered on the interval. Both spellings of the name are read, as the temporal-geometry side reads both spellings of subTrajectory.

The flag governs the route that returns values. The temporal-properties listing answers a document carrying each property's name, type, unit and links and no valueSequence — which temporalProperty makes optional — so a flag that clips values has nothing to clip there, and that route advertises none.

TestATSLiveSubTemporalValue discharges /conf/movingfeatures/param-subtemporalvalue-response against the fixture, and asserts that the answer moves: the clipped property holds strictly fewer instants than the unclipped one and none outside the interval. A parameter that is read and changes nothing a client receives cannot be told from one that is ignored.

samples/api-definition.json records the service description this tier publishes, so the sample set carries the parameter list as it stands.

`subTemporalValue` selects the subsequence of a temporal property clipped to the
datetime interval, which is what Part 1 states it does: under the flag the
datetime parameter is a bounded interval and `leaf` is not used. A request
carrying the flag without a bounded interval is refused, and one carrying `leaf`
beside it is answered on the interval; both spellings of the name are read, as
the temporal-geometry side already reads both spellings of `subTrajectory`.

The flag governs the route that returns values. The temporal-properties listing
answers a document carrying each property's name, type, unit and links and no
valueSequence — which `temporalProperty` makes optional — so a flag that clips
values has nothing to clip there, and that route no longer advertises one.

`TestATSLiveSubTemporalValue` discharges
/conf/movingfeatures/param-subtemporalvalue-response against the fixture, and
asserts that the answer moves: the clipped property holds strictly fewer
instants than the unclipped one and none outside the interval, since a parameter
that is read and changes nothing a client receives cannot be told from one that
is ignored.
@estebanzimanyi
estebanzimanyi merged commit b741873 into master Aug 29, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/subtemporalvalue branch August 29, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant