Api session event editor overlay: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 40: | Line 40: | ||
|- | |- | ||
|[[api session event editor overlay add overlay function|ADD_OVERLAY_FUNCTION]] | |[[api session event editor overlay add overlay function|ADD_OVERLAY_FUNCTION]] | ||
|Add a | |Add a [[Function]] to highlight to a specified FUNCTION [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay add result child|ADD_RESULT_CHILD]] | |[[api session event editor overlay add result child|ADD_RESULT_CHILD]] | ||
| Line 52: | Line 52: | ||
|- | |- | ||
|[[api session event editor overlay remove overlay function|REMOVE_OVERLAY_FUNCTION]] | |[[api session event editor overlay remove overlay function|REMOVE_OVERLAY_FUNCTION]] | ||
|Remove a specified | |Remove a specified [[Function]] to highlight from a specified FUNCTION_HIGHLIGHT [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay remove prequel|REMOVE_PREQUEL]] | |[[api session event editor overlay remove prequel|REMOVE_PREQUEL]] | ||
| Line 61: | Line 61: | ||
|- | |- | ||
|[[api session event editor overlay save grid|SAVE_GRID]] | |[[api session event editor overlay save grid|SAVE_GRID]] | ||
|Create a copy of each specified [[Overlay]]. The copies will have the same | |Create a copy of each specified [[Overlay]]. The copies will have the same [[Setting]]s and attributes, but can be edited independently of the originals. | ||
|- | |- | ||
|[[api session event editor overlay set attribute overlay color attribute|SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE]] | |[[api session event editor overlay set attribute overlay color attribute|SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE]] | ||
| Line 91: | Line 91: | ||
|- | |- | ||
|[[api session event editor overlay set image|SET_IMAGE]] | |[[api session event editor overlay set image|SET_IMAGE]] | ||
|Change the icon displayed in the navigation window by the [[Overlay]]. Only existing | |Change the icon displayed in the navigation window by the [[Overlay]]. Only existing [[Overlay]] [[Project Asset]]s are allowed. | ||
|- | |- | ||
|[[api session event editor overlay set key value|SET_KEY_VALUE]] | |[[api session event editor overlay set key value|SET_KEY_VALUE]] | ||
| Line 112: | Line 112: | ||
|- | |- | ||
|[[api session event editor overlay set overlay area|SET_OVERLAY_AREA]] | |[[api session event editor overlay set overlay area|SET_OVERLAY_AREA]] | ||
|Add or remove specified | |Add or remove specified [[Area]]s to or from a specified AREAS [[Overlay]]. Unincluded [[Area]] which are already related to the Overlay will remain related. Unincluded areas which are not related to the Overlay will remain unrelated. | ||
|- | |- | ||
|[[api session event editor overlay set overlay image|SET_OVERLAY_IMAGE]] | |[[api session event editor overlay set overlay image|SET_OVERLAY_IMAGE]] | ||
| Line 124: | Line 124: | ||
|- | |- | ||
|[[api session event editor overlay set overlay source|SET_OVERLAY_SOURCE]] | |[[api session event editor overlay set overlay source|SET_OVERLAY_SOURCE]] | ||
|Add or remove specified | |Add or remove specified [[Source]]s to or from a specified SOURCE [[Overlay]]. Unincluded [[Source]] which are already related to the Overlay will remain related. Unincluded sources which are not related to the Overlay will remain unrelated. | ||
|- | |- | ||
|[[api session event editor overlay set parent|SET_PARENT]] | |[[api session event editor overlay set parent|SET_PARENT]] | ||
| Line 139: | Line 139: | ||
|- | |- | ||
|[[api session event editor overlay set service crs|SET_SERVICE_CRS]] | |[[api session event editor overlay set service crs|SET_SERVICE_CRS]] | ||
|Set the prefered CRS for the Service | |Set the prefered CRS for the Service [[Source]] of a specified Service [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay set service force xy|SET_SERVICE_FORCE_XY]] | |[[api session event editor overlay set service force xy|SET_SERVICE_FORCE_XY]] | ||
|Set the prefered option to force the CRS order to longitude/latitude for the Service | |Set the prefered option to force the CRS order to longitude/latitude for the Service [[Source]] of a specified Service [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay set service layer|SET_SERVICE_LAYER]] | |[[api session event editor overlay set service layer|SET_SERVICE_LAYER]] | ||
|Set the Service layer names for a specified Service [[Overlay]] and | |Set the Service layer names for a specified Service [[Overlay]] and [[Time]]frame. | ||
|- | |- | ||
|[[api session event editor overlay set service source|SET_SERVICE_SOURCE]] | |[[api session event editor overlay set service source|SET_SERVICE_SOURCE]] | ||
|Set the Service | |Set the Service [[Source]] for a specified Service [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay set show difference|SET_SHOW_DIFFERENCE]] | |[[api session event editor overlay set show difference|SET_SHOW_DIFFERENCE]] | ||
| Line 154: | Line 154: | ||
|- | |- | ||
|[[api session event editor overlay set show system visualization|SET_SHOW_SYSTEM_VISUALIZATION]] | |[[api session event editor overlay set show system visualization|SET_SHOW_SYSTEM_VISUALIZATION]] | ||
|Set whether a specified [[Overlay]] visualizes the graph of systems which dictates its calculation. Pipes, center points of | |Set whether a specified [[Overlay]] visualizes the graph of systems which dictates its calculation. Pipes, center points of [[Area]]s, etc. | ||
|- | |- | ||
|[[api session event editor overlay set tensor normalized|SET_TENSOR_NORMALIZED]] | |[[api session event editor overlay set tensor normalized|SET_TENSOR_NORMALIZED]] | ||
|Set whether an input tensor of an Inference [[Overlay]] should be normalized when provided to a | |Set whether an input tensor of an Inference [[Overlay]] should be normalized when provided to a [[Neural Network]]. | ||
|- | |- | ||
|[[api session event editor overlay set tensor prequel|SET_TENSOR_PREQUEL]] | |[[api session event editor overlay set tensor prequel|SET_TENSOR_PREQUEL]] | ||
| Line 169: | Line 169: | ||
|- | |- | ||
|[[api session event editor overlay set visible|SET_VISIBLE]] | |[[api session event editor overlay set visible|SET_VISIBLE]] | ||
|Visualizes or hides an [[Overlay]] in the navigation | |Visualizes or hides an [[Overlay]] in the navigation [[Panel]]. | ||
|- | |- | ||
|[[api session event editor overlay set water mode|SET_WATER_MODE]] | |[[api session event editor overlay set water mode|SET_WATER_MODE]] | ||
| Line 175: | Line 175: | ||
|- | |- | ||
|[[api session event editor overlay set water weather|SET_WATER_WEATHER]] | |[[api session event editor overlay set water weather|SET_WATER_WEATHER]] | ||
|Set a specified | |Set a specified [[Weather]] to serve as input for a specified water [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay swap order|SWAP_ORDER]] | |[[api session event editor overlay swap order|SWAP_ORDER]] | ||
| Line 187: | Line 187: | ||
|- | |- | ||
|[[api session event editor overlay refresh grid|REFRESH_GRID]] | |[[api session event editor overlay refresh grid|REFRESH_GRID]] | ||
|Deprecated | |Deprecated [[Function]]ality, entire map is always updated when UPDATE is called. Note that when the "Auto calculation" is not active, an editor/update/ event is required to generate the new [[Overlay]] results. Or for long-running updates use: editor/set_scheduled_update/ to schedule an update. | ||
|} | |} | ||
{{article end|seealso=*[[Api Events]]}} | {{article end|seealso=*[[Api Events]]}} | ||
[[Category:API]] | [[Category:API]] | ||
Revision as of 14:16, 30 March 2026
API api session event editor overlay Events.
Overlay editing.
| Name | Description |
|---|---|
| ADD | Add a new Overlay of the specified type. |
| APPEND_ATTRIBUTE | Appended to existing Overlay attribute value |
| DUPLICATE | Duplicate existing Overlay |
| REMOVE | Remove the specified Overlays. |
| REMOVE_ATTRIBUTE | Remove the specified attributes of the specified Overlay. The attributes, including attributes which are added to an Overlay by default, are removed entirely. |
| SET_ATTRIBUTE | Set Overlay attribute value |
| SET_ATTRIBUTES | Set multiple Overlay attribute values |
| SET_NAME | Set the name for a specified Overlay. |
Specific Events:
| Name | Description |
|---|---|
| ADD_LEGEND_ENTRY | Add a Legend Entry to a specified Overlay. The Overlay must have a custom legend before entries can be added to it. |
| ADD_OVERLAY_FUNCTION | Add a Function to highlight to a specified FUNCTION Overlay. |
| ADD_RESULT_CHILD | Add a specified result type as a child Overlay to a specified grid Overlay. The child Overlay's result will be based on the parent's calculation, allowing you to get multiple types of results from the same calculation. |
| ADD_TYPE | Add multiple new Overlays of the specified types. |
| REMOVE_LEGEND_ENTRY | Remove the specified legend entries from a specified Overlay. The Overlay must have a custom legend before entries can be removed from it. |
| REMOVE_OVERLAY_FUNCTION | Remove a specified Function to highlight from a specified FUNCTION_HIGHLIGHT Overlay. |
| REMOVE_PREQUEL | Remove a Grid Overlay's prequel Overlay. |
| REMOVE_WATER_WEATHER | Remove Water Weather |
| SAVE_GRID | Create a copy of each specified Overlay. The copies will have the same Settings and attributes, but can be edited independently of the originals. |
| SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE | Set which attribute a specified ATTRIBUTE Overlay should use to color the items it finds. If present in the item, it will use that attribute's color to color the item in the 3D world. If absent, the Overlay's color will be used. |
| SET_ATTRIBUTE_OVERLAY_VALUES | Set which type of item and which attribute a specified ATTRIBUTE Overlay should highlight. The ATTRIBUTE Overlay will highlight each item it finds which is both of the specified maptype as well as has the specified attribute |
| SET_AVG_DISTANCE | Set the averaging distance for a specified AVG Overlay. |
| SET_COMBO_FORMULA | Set formula for a Combo Overlay. |
| SET_CUSTOM_LEGEND | Set whether the specified Overlay has a custom legend. If the specified Overlay is reverted to use a default Overlay, any custom legend information for the Overlay is removed. |
| SET_DISCHARGE_METHOD | Set Discharge Method |
| SET_GEOTIFF | Change the GeoTIFF displayed by a specified GeoTIFF Overlay. |
| SET_GRID_ACTIVE | Activates or deactivates an Overlay. Only active Overlay are recalculated by the simulation. |
| SET_HEAT_MODEL | Set Heat Model |
| SET_IMAGE | Change the icon displayed in the navigation window by the Overlay. Only existing Overlay Project Assets are allowed. |
| SET_KEY_VALUE | Change a key for a specified Overlay. The Overlay must be an Overlay which makes use of keys to read attributes of geographical items, as input for its calculation. |
| SET_LEGEND_ENTRY_COLOR | Change the color of a specified legend entry of a custom legend of a specified Overlay. |
| SET_LEGEND_ENTRY_NAME | Change the name of a specified legend entry of a custom legend of a specified Overlay. |
| SET_LEGEND_ENTRY_VALUE | Change the value of a specified legend entry of a custom legend of a specified Overlay. |
| SET_NET_OVERLAY | Set the visualization style for a specified network Overlay. |
| SET_NEURAL_NETWORK | Set the Neural Network for an Inference Overlay. |
| SET_OVERLAY_AREA | Add or remove specified Areas to or from a specified AREAS Overlay. Unincluded Area which are already related to the Overlay will remain related. Unincluded areas which are not related to the Overlay will remain unrelated. |
| SET_OVERLAY_IMAGE | Change the image displayed by a specified IMAGE Overlay. The image must be uploaded in the "Overlay" directory. |
| SET_OVERLAY_PRIMARY_COLOR | Set the color a specified FUNCTION or ATTRIBUTE Overlay uses to highlight found data. |
| SET_OVERLAY_REMAINDER_COLOR | Set the color a specified FUNCTION or ATTRIBUTE Overlay uses to color parts of the map where no relevant data is found. |
| SET_OVERLAY_SOURCE | Add or remove specified Sources to or from a specified SOURCE Overlay. Unincluded Source which are already related to the Overlay will remain related. Unincluded sources which are not related to the Overlay will remain unrelated. |
| SET_PARENT | Set a parent Overlay for a specified Overlay. This will cause the specified Overlay to be a subselectable Overlay of the parent. It is not possible to set an Overlay which has a parent itself as a parent of another Overlay. |
| SET_PREQUEL | Set prequel Overlay. |
| SET_RASTERIZATION | Set the type of rasterization a specified AVG or Distance Overlay should do. |
| SET_RESULT_TYPE | Set the result type of a specified grid Overlay. The same calculation will be performed, but a different aspect of the calculation will be tracked and output. |
| SET_SERVICE_CRS | Set the prefered CRS for the Service Source of a specified Service Overlay. |
| SET_SERVICE_FORCE_XY | Set the prefered option to force the CRS order to longitude/latitude for the Service Source of a specified Service Overlay. |
| SET_SERVICE_LAYER | Set the Service layer names for a specified Service Overlay and Timeframe. |
| SET_SERVICE_SOURCE | Set the Service Source for a specified Service Overlay. |
| SET_SHOW_DIFFERENCE | Set whether a specified grid Overlay has a difference option. If an Overlay has a difference option, an addition output is available computed from the difference between the CURRENT and MAQUETTE outputs. |
| SET_SHOW_SYSTEM_VISUALIZATION | Set whether a specified Overlay visualizes the graph of systems which dictates its calculation. Pipes, center points of Areas, etc. |
| SET_TENSOR_NORMALIZED | Set whether an input tensor of an Inference Overlay should be normalized when provided to a Neural Network. |
| SET_TENSOR_PREQUEL | Set the Inference Prequel for an input tensor of an Inference Overlay. |
| SET_TENSOR_RESULT_TYPE | Set the Inference Result for an output tensor of an Inference Overlay. |
| SET_TENSOR_VALUE_TYPE | Set the Value Type for an input tensor of an Inference Overlay. |
| SET_VISIBLE | Visualizes or hides an Overlay in the navigation Panel. |
| SET_WATER_MODE | Set Water Mode |
| SET_WATER_WEATHER | Set a specified Weather to serve as input for a specified water Overlay. |
| SWAP_ORDER | Swap Order |
Deprecated Events:
| Name | Description |
|---|---|
| REFRESH_GRID | Deprecated Functionality, entire map is always updated when UPDATE is called. Note that when the "Auto calculation" is not active, an editor/update/ event is required to generate the new Overlay results. Or for long-running updates use: editor/set_scheduled_update/ to schedule an update. |