GdalS57 Wrapper is a .NET Framework wrapper to help with using the unmanaged GdalS57 library. International Hydrographic Organisation (IHO) S-57 Electronic Navigation Charts (ENC) datasets are supported for read access. The S-57 driver module produces features for all S-57 features in the S-57 file, and associated updates. S-57 (ENC) files normally have the extension ".000". S-57 feature objects are translated into features. S-57 geometry objects are automatically collected and formed into geometries on the features. ** This is a repackage of the third party S57 Gdal project for use with ThinkGeo's Map Suite product line. ** ** You should not need to reference this package directly, it will be a dependency of other Map Suite packages. ** The purpose of the repackage is to enable ThinkGeo to control release and debug versions known to be compatible with various Map Suite products and to provide ongoing backward compatibility independent from the original author. You can find more information at the link below. Why we repackage: http://wiki.thinkgeo.com/wiki/map_suite_via_nuget#why_we_repackage Wiki Documentation: http://wiki.thinkgeo.com/wiki/map_suite_dependencies#gdals57 Supported Platforms: Windows Source Website: http://www.gdal.org/


Keywords
.NET, Charts, ENC, Electronic, GDAL, GIS, Map, MapSuite, Mapping, Navigation, S-57, S57, Spatial, Suite, ThinkGeo, drawing, enc-viewer, iho, layers-featuresources, map-suite, maps, nautical-charts, wiki, wpf
Install
Install-Package MapSuiteDependency-GdalS57 -Version 10.2.0

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.