...
In OpenMI 2 spatial mapping can be done in a flexible way by plugging a spatial Decorator Adapted outputs between Provider and Consumer. A set of simple interpolations will be provided and application developers can integrate their own Decorators Adapted outputs with new interpolation methods. Furthermore, a series connection of Decorators Adapted outputs is possible.
The figure above displays a series connection of Decorators Adapted outputs mapping the Quantity H for water level from a grid to two single points. In a first step the ElementSet Grid is converted to two ElementSets of type Point. The second step is a further interpolation from these points to the single ElementSets Point1 and Point2.
The user can interactively define the order the Decorators Adapted outputs are run, optimizing the mapping performance. Please note that Decorators Adapted outputs can also be used for further operations as e.g. temporal interpolation.