EncDotNet.S100.Crs.ProjNet
0.25.1
dotnet add package EncDotNet.S100.Crs.ProjNet --version 0.25.1
NuGet\Install-Package EncDotNet.S100.Crs.ProjNet -Version 0.25.1
<PackageReference Include="EncDotNet.S100.Crs.ProjNet" Version="0.25.1" />
<PackageVersion Include="EncDotNet.S100.Crs.ProjNet" Version="0.25.1" />
<PackageReference Include="EncDotNet.S100.Crs.ProjNet" />
paket add EncDotNet.S100.Crs.ProjNet --version 0.25.1
#r "nuget: EncDotNet.S100.Crs.ProjNet, 0.25.1"
#:package EncDotNet.S100.Crs.ProjNet@0.25.1
#addin nuget:?package=EncDotNet.S100.Crs.ProjNet&version=0.25.1
#tool nuget:?package=EncDotNet.S100.Crs.ProjNet&version=0.25.1
EncDotNet.S100.Crs.ProjNet
EncDotNet.S100.Crs.ProjNet implements the ICrsTransformFactory and
ICrsTransform interfaces from
EncDotNet.S100.Core (namespace
EncDotNet.S100.Pipelines) with
ProjNet. It reprojects
coverage products, such as S-102, S-104 and S-111 grids in UTM, for display.
It depends only on ProjNet, not on a map renderer, so headless consumers such
as the EncDotNet.S100 facade and the s100
command-line tool use it without Mapsui. Reference it directly when you need
coordinate transforms outside the facade.
Install
dotnet add package EncDotNet.S100.Crs.ProjNet
Example: UTM to Web Mercator
using EncDotNet.S100.Crs.ProjNet;
using EncDotNet.S100.Pipelines;
ICrsTransformFactory factory = new ProjNetCrsTransformFactory();
ICrsTransform toWebMercator = factory.Create("EPSG:32608", "EPSG:3857");
var (x, y) = toWebMercator.Transform(easting, northing);
Supported coordinate reference systems
ProjNetCrsTransformFactory.Create transforms between any two of these:
| CRS | Codes | Use |
|---|---|---|
| WGS 84 / UTM | EPSG:32601–32660 (north), EPSG:32701–32760 (south) | The usual CRS of S-102, S-104 and S-111 coverage grids. |
| WGS 84 | EPSG:4326 | Geographic latitude and longitude. |
| WGS 84 / Pseudo-Mercator | EPSG:3857 | Web Mercator, used to draw coverage rasters on a tiled map. |
- Pass codes as
"EPSG:4326"or"4326". Any other code throwsNotSupportedException. - Transforms to or from EPSG:3857 go through EPSG:4326 and use the spherical Web Mercator formulas, as map renderers do. ProjNet's ellipsoidal Mercator would place northings about 20 km off at 50°N.
- When the source and target strings are the same, ignoring case,
CreatereturnsIdentityCrsTransform.
| 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. |
-
net10.0
- EncDotNet.S100.Core (>= 0.25.1)
- ProjNet (>= 2.1.0)
-
net8.0
- EncDotNet.S100.Core (>= 0.25.1)
- ProjNet (>= 2.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EncDotNet.S100.Crs.ProjNet:
| Package | Downloads |
|---|---|
|
EncDotNet.S100
Open an IHO S-100 dataset, read its features and render it to an image using the bundled feature and portrayal catalogues. Wraps EncDotNet.S100.Specifications and EncDotNet.S100.Datasets.Pipelines behind a small, format-agnostic API; the underlying readers and catalogues remain available for custom wiring. |
GitHub repositories
This package is not used by any popular GitHub repositories.