-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API Part2] Added command feasibility req class
- Loading branch information
Showing
8 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
api/part2/standard/sections/clause_10_requirements_class_command_feasibility.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[[clause-command-feasibility]] | ||
== Requirements Class "Command Feasibility" | ||
|
||
=== Overview | ||
|
||
The execution of certain commands is sometimes impossible due to internal or external constraints (e.g. conflict with other scheduled commands, conflict with another user that has exclusive control on the system, etc.). | ||
|
||
In order for a client to know if a command/task is feasible, without sending the actual command, feasibility channels are supported by the CS API. In addition to providing a binary (i.e. YES/NO) response to a feasibility request, the CS API provides a mechanism to include detailed feasibility analysis in the response (e.g. provide chances of success, provide task execution details), as well as suggest alternatives if the command is not feasible or has a low chance of success. | ||
|
||
A feasibility channel is a regular command stream that is associated to the corresponding command channel. The parameters on the feasibility channel are exactly the same as the ones on the associated command channel, but the response is different. Instead of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
.../standard/sections/clause_7a_requirements_class_dynamic_feature_properties.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[[clause-dynamic-feature-props]] | ||
== Requirements Class "Dynamic Feature Properties" | ||
|
||
[cols="1,4",width="90%",options="header"] | ||
|=== | ||
2+|*Requirements Class* | ||
2+|http://www.opengis.net/spec/ogcapi-connectedsystems-2/1.0/req/dynamic-props | ||
|Target type |Web API | ||
|Dependency |http://www.opengis.net/spec/ogcapi-connected-systems-1/1.0/core | ||
|=== | ||
|
||
=== Overview | ||
|
||
Dynamic feature properties are feature properties whose values change over time. | ||
|
||
|
||
=== Dynamic Tag | ||
|
||
This requirements class defines a tag to be used in any JSON representation to identify properties that are dynamic (i.e. time varying). | ||
|
||
This is done by adding the `@dynamic` suffix to any JSON member name and setting the value to true. | ||
|
||
|
||
=== Feature Snapshot | ||
|
||
This requirements class also defines a behavior of a server when using the existing `datetime` property in a request. | ||
|
||
For dynamic features, when the `datetime` query parameter is used to specify a time instant, (and the `snapshot` parameter is set to true?), the server must take a snapshot of the feature properties at the specified time. | ||
|
||
This can be used in conjunction with the `temporalProperties` sub resource provided by OGC API - Moving Features. |