EncDotNet.Noaa
0.4.0
dotnet add package EncDotNet.Noaa --version 0.4.0
NuGet\Install-Package EncDotNet.Noaa -Version 0.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EncDotNet.Noaa" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EncDotNet.Noaa" Version="0.4.0" />
<PackageReference Include="EncDotNet.Noaa" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EncDotNet.Noaa --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EncDotNet.Noaa, 0.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EncDotNet.Noaa@0.4.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EncDotNet.Noaa&version=0.4.0
#tool nuget:?package=EncDotNet.Noaa&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EncDotNet.Noaa
A .NET 10 client for the NOAA ENC product catalog — discover and download U.S. electronic navigational chart data published by the National Oceanic and Atmospheric Administration.
Features
- Query the NOAA ENC product catalog (XML-based)
- List all available U.S. ENC cells with metadata (name, scale, edition, update number)
- Access geographic coverage, Coast Guard district, region, and state information
- Get direct download URLs for chart ZIP files
Installation
dotnet add package EncDotNet.Noaa
Quick Start
using EncDotNet.Noaa;
using var client = new EncProductCatalogClient();
var catalog = await client.GetNoaaCatalogAsync();
Console.WriteLine($"Found {catalog.Cells.Count} charts");
foreach (var cell in catalog.Cells)
{
Console.WriteLine($"{cell.Name} — Scale 1:{cell.ChartScale}");
Console.WriteLine($" Edition {cell.Edition}, Update {cell.UpdateNumber}");
Console.WriteLine($" Download: {cell.ZipfileLocation}");
}
Filtering by Region or Scale
// Find large-scale harbour charts for a specific area
var harbourCharts = catalog.Cells
.Where(c => c.ChartScale <= 25000)
.OrderBy(c => c.Name);
foreach (var cell in harbourCharts)
{
Console.WriteLine($"{cell.Name} — 1:{cell.ChartScale}");
}
Downloading Chart Data
using var httpClient = new HttpClient();
var cell = catalog.Cells.First(c => c.Name == "US5CA11M");
if (cell.ZipfileLocation is not null)
{
var bytes = await httpClient.GetByteArrayAsync(cell.ZipfileLocation);
await File.WriteAllBytesAsync($"{cell.Name}.zip", bytes);
}
Key Types
| Type | Description |
|---|---|
EncProductCatalogClient |
HTTP client for fetching the NOAA ENC product catalog |
EncProductCatalog |
The parsed catalog containing all available ENC cells |
Cell |
Metadata for a single ENC cell (name, scale, edition, coverage, download URL) |
Coverage |
Geographic coverage polygon for a cell |
Vertex |
A lat/lon vertex in a coverage polygon |
Panel |
Panel information for a cell |
CatalogHeader |
Catalog-level metadata (title, date) |
Regions |
Region classification data |
States |
U.S. state assignments for cells |
CoastGuardDistricts |
Coast Guard district assignments |
Data Source
This package fetches data from the NOAA ENC product catalog, which is a publicly available XML feed listing all official U.S. electronic navigational charts. The catalog includes cell metadata, edition/update tracking, geographic coverage, and download links.
Related Packages
- EncDotNet.S57 — Parse the downloaded S-57 chart files
- EncDotNet.Iso8211 — Low-level ISO 8211 binary parser
License
MIT — see LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.