← Back to carmenta.com
Carmenta Engine SDK Documentation
×

S57DataSet.GetS63Warnings Method

Gets a list of warnings for incorrect S-63 cells in the specified view area and scale.

Thread safety: This method is not thread-safe and it should only be called from the GUI thread. Show

GetS63Warnings(Rectangle area, System.Double nominalScale)

Gets a list of warnings for incorrect S-63 cells in the specified view area and scale.

Syntax

C#
public StringCollection GetS63Warnings (
    Rectangle area,
    System.Double nominalScale
)

Parameters

area
Type: Rectangle
The current view area.
nominalScale
Type: System.Double
The current nominal scale of the view.

Return Value

Type: A collection of String (not available in C#) elements.
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

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept