ThinkGeo.NauticalCharts works with both .NET Core(3.0 and above) and .NET Framework(4.6.2 and above). It is a layer extension to the ThinkGeo product line that provides the ability to render IHO (International Hydrograph Office) ENC 000 Files (S-57) on a map. The new ThinkGeo Nautical Charts Extension is a great tool for any .NET developer who needs to create or view desktop or web maps that display NOAA’s Electronic Navigational Charts which conform to the IHO (International Hydrograph Office) S-57 international exchange format as defined in the special publication S-52. ** This is an extension for use in ThinkGeo's product line, and cannot be used standalone. See below for more details. ** Docs and Product Guides: https://docs.thinkgeo.com/ API Documentation: https://wiki.thinkgeo.com/wiki/12.0/thinkgeo.core ThinkGeo Cloud APIs: https://cloud.thinkgeo.com This is a commercial product with a free 30-day evaluation. Start your evaluation by signing up at https://helpdesk.thinkgeo.com/register and downloading the ProductCenter application. Supported Platforms: Windows, Linux - ThinkGeo UI Components based on .NET Core - ThinkGeo UI for Android. ThinkGeo UI for iOS. ThinkGeo UI for Blazor. ThinkGeo UI for WebApi. ThinkGeo UI for WPF.


Keywords
.NETCore, .NETStandard, GIS, Mapping, Marine, Maritime, NauticalCharts, S52, S57, Spatial, ThinkGeo, drawing, enc, enc-viewer, iho, layers-featuresources, map-suite, maps, mapsuite, nautical-charts, wiki, wpf
Install
Install-Package ThinkGeo.NauticalCharts -Version 14.2.0-beta044

Documentation

Nautical Charts Viewer Sample for Wpf

Description

ThinkGeo Nautical Charts is a standalone Nuget Package which works with ThinkGeo 10.X Desktop/Web products. It reads and displays S-57 Electronic Navigational Charts(ENC) from International Hydrographic Organization(IHO), it also reads the style info defined in an S-52 file.

This sample happens to be written for WPF but the Nautical Charts Package works for Web project as well. Download and open it in Visual Studio, hit F5 and Bang, you are good to go. After you have the charts viewer running, use File -> Open to load an S-57 data, (it can be downloaded from NOAA’s website), the nautical charts will then appear on the map (it generates an index file the first time the data is loaded).

ThinkGeo uses a default style which can be easily modified. Nautical Charts Viewer provide the ability to switch the map between 5 modes: Day Bright, Day Black, Day White, Dusk and Night. It has 3 verbose mode of “All”, “Standard” and “Base”. It can switch boundaries between dashed line and triangles, it can show/hide different labeling, show different languages, etc. If you are a developer, dig in the code and you can see it’s as simple as creating a layer and set up the properties like following, and it can do more than it shows in this sample

Screenshot

Requirements

This sample makes use of the following NuGet Packages

MapSuite 10.0.0

About the Code

// Please input your ThinkGeo Cloud ID/Secret to enable the background map. 
ThinkGeoCloudRasterMapsOverlay baseOverlay = new ThinkGeoCloudRasterMapsOverlay("ThinkGeo Cloud clientId", "ThinkGeo Cloud clientSecret");

// Set up the Nautical Charts Feature Layer
NauticalChartsFeatureLayer nauticalChartsFeatureLayer = new NauticalChartsFeatureLayer("Nautical Charts Pathfile Name");

layer.IsDepthContourTextVisible = true;
layer.IsLightDescriptionVisible = true;
layer.IsSoundingTextVisible = true;
layer.SymbolTextDisplayMode = NauticalChartsSymbolTextDisplayMode.English;
layer.DisplayCategory = NauticalChartsDisplayCategory.All;
layer.DefaultColorSchema = NauticalChartsDefaultColorSchema.DayBright;
layer.SymbolDisplayMode = NauticalChartsSymbolDisplayMode.PaperChart;
layer.BoundaryDisplayMode = NauticalChartsBoundaryDisplayMode.Plain;

Getting Help

Map Suite Desktop for Wpf Wiki Resources

Map Suite Desktop for Wpf Product Description

ThinkGeo Community Site

ThinkGeo Web Site

Key APIs

This example makes use of the following APIs:

FAQ

  • Q: How do I make background map work?
    A: Backgrounds for this sample are powered by ThinkGeo Cloud Maps and require a Client ID and Secret. These were sent to you via email when you signed up with ThinkGeo, or you can register now at https://cloud.thinkgeo.com. Once you get them, please update the code in MainViewModel.cs.

About Map Suite

Map Suite is a set of powerful development components and services for the .Net Framework.

About ThinkGeo

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.