Today’s project is a tool of ENC Viewer for displaying unencrypted Electronic Navigational Charts (ENCs) available in the S-57 exchange format (*.000). This tool takes use of Map Suite HydrographyExtension to display ENC data in compliance with the latest version of ECDIS Presentation Library Edition 4.0, which is defined by the International Hydrographic Organization (IHO) in the special publication S-52.
NOTE: the styling file “NauticalCharts.xml” for drawing S-57 (*.000) file is included in the source code package.
Please refer to Wiki for the details.
This sample makes use of the following NuGet Packages
private void DrawPivot(Vertex pivotVertex, MappingConverter converter)
{
Color fillColor = Color.Red;
Color outLineColor = Color.DarkBlue;
SolidBrush brush = new SolidBrush(fillColor);
Pen pen = new Pen(outLineColor, 2);
PointF point = converter.GetMappingPoint(pivotVertex);
Vertex rightMostVertex = new Vertex(pivotVertex.X + 10, pivotVertex.Y);
float radius = 5f;
graphics.FillEllipse(brush, point.X - radius, point.Y - radius, radius * 2, radius * 2);
graphics.DrawEllipse(pen, point.X - radius, point.Y - radius, radius * 2, radius * 2);
}
Map Suite Desktop for Wpf Wiki Resources
Map Suite Desktop for Wpf Product Description
This example makes use of the following APIs:
Map Suite is a set of powerful development components and services for the .Net Framework.
ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture, energy, transportation, government, engineering, software development, and defense.