S57DataSet.GetS63Warnings Method
Gets a list of warnings for incorrect S-63 cells in the specified view area and scale.
GetS63Warnings(Rectangle area, System.Double nominalScale)
Gets a list of warnings for incorrect S-63 cells in the specified view area and scale.Syntax
public StringCollection GetS63Warnings (
Rectangle area,
System.Double nominalScale
)
Parameters
The current view area.
The current nominal scale of the view.
Return Value
A list of warning messages, possibly empty.
Remarks
According to the S-63 specification, certain types of warnings should be displayed on top of the map image. This includes for instance warnings when cells with expired cell permits are displayed. This method can be used to retrieve those warnings for the current view area and scale.
An application can call this method in a View.AreaChanged event handler and retrieve the list of warnings. It may then use the View.CustomDraw event to draw the warnings, if any, on top of the map.
Platforms
Windows, Linux, Android