Developer Reference V5 Release Notes

DNC Support

From version 5, ENCX now supports DNC charts. The capability to view DNC charts is only available with a special ENCX licence. If you'd like to know more, please contact us.

Version 5.2.0.63

Released 17 October 2018.

Removed redundant, expired Primar certificate.

Version 5.2.0.1

Released 25 July 2018.

Updated AML Symbology Library

In this version, ENCX has been updated to use the latest AML Symbology Library (library compilation date 20180301) that was released earlier this month.

Version 5.1.0.125

Released 18 May 2018.

NEWOBJ Symbology

We were not rendering S-52 NEWOBJ symbology quite correctly. This has been fixed.

MGRS Coordinates

In addition to the support for UTM coordinates added in the previous release, we have added support for MGRS coordinates.

To convert a MGRS position to a GeoPoint, use code like this:

var pt = new ENCX.GeoPoint();
pt.ParseMGRS("30 U XE 01468 26018");

To get a MGRS position from a GeoPoint, you can do this:

var gpFmt = _library.GeoPointFormatter;
gpFmt.UseUniversalGrid = true;
gpFmt.UseNationalGrid = false;
gpFmt.UniversalGrid = ENCX.UniversalGridType.Grid_MGRS;
var pt = new ENCX.GeoPoint { Lat = 53, Lon = -0.5 };
string sMGRSPos = pt.FormattedPosition;

The other option for the UniversalGrid property is Grid_UTM which is the default.

GetInstallationID Sample Application

This release has a new sample application to make getting hold of an InstallationId which is used for Dongle Free Security a little easier.

Version 5.0.0.49

Released 13 December 2017.

Updated ENC Presentation Library

This release updates ENCX to use the S-52 Presentation Library 4.0.2 'with clarifications to July 2017'. (Confusingly, ENCX was already using 4.0.2 but the standards committee made changes to this version earlier in 2017 but the version of the presentation library was not changed).

As part of this, there's been a slight change to our implementation of the S-52 UDWHAZ05 conditional symbology procedure. This procedure uses a new display setting "Show isolated dangers in shallow water" which can be turned on or off.

There's also a new viewing group 14050 Isolated above water danger, in own ship safe water no isolated danger symbol. (Applies to obstructions, underwater rocks and wrecks from UDWHAZnn) which was used by this procedure but undocumented.

Magnify Raster Charts

A new property 'Magnify' has been added to the RawDraw class which accepts a percentage value to zoom the raster chart to.

100% is the default - unmagnified. The value can be from 25% to 4000%, and should be divisible by 25.

Values less than 25 are rounded up to 25 and values greater than 4000 are rounded down to 4000.

If the value is not divisible by 25 it is rounded up to the next value that is.

The C# RasControl classes for both WinForms and WPF have been updated to include a mouse wheel handler to invoke the magnify. See the sample applications RasView1, Wpf.RasExample to see magnify in action.

ParseUTM

A new property has been added to the GeoPoint class to convert from UTM grid coordinates to WGS84 latitude and longitude.

Bug fixes

All of the sample applications have been fixed up so they should just work fine without re-compiling.