SpatialUtils 1.7.0
dotnet add package SpatialUtils --version 1.7.0
NuGet\Install-Package SpatialUtils -Version 1.7.0
<PackageReference Include="SpatialUtils" Version="1.7.0" />
<PackageVersion Include="SpatialUtils" Version="1.7.0" />
<PackageReference Include="SpatialUtils" />
paket add SpatialUtils --version 1.7.0
#r "nuget: SpatialUtils, 1.7.0"
#:package SpatialUtils@1.7.0
#addin nuget:?package=SpatialUtils&version=1.7.0
#tool nuget:?package=SpatialUtils&version=1.7.0
SpatialUtils
SpatialUtils is a decoupled and reusable library for geospatial data visualization, manipulation, and coordinate system management. This version (1.7.0) introduces a refined coordinate system retrieval API using modern C# switch expressions as well as a brand new SpatialDataViewer feature, allowing you to display geospatial data (via an enumerable of records implementing the IGeospatialRecord interface) without imposing direct dependencies on your project’s data model.
Features
Refactored Coordinate System Retrieval
- Retrieve common coordinate systems by EPSG code (e.g., 4326 for WGS84, 32633 for UTM Zone 33N, 3857 for Web Mercator).
- Utilizes modern C# switch expressions for concise code and robust error handling.
SpatialDataViewer
- A static class providing the
ShowGeospatialDatamethod. - Displays details (including coordinates) of geospatial records passed as an enumerable of
IGeospatialRecord.
IGeospatialRecord Interface
- Defines a minimal set of properties (such as
Id,Name, andLocation) to standardize geospatial records. - Easily implemented in your models or adapted for integration with SpatialUtils.
Advanced Spatial Analysis and Trajectory Calculation
- AdvancedSpatialAnalysis.cs: Provides utility methods and algorithms for in-depth analysis of geospatial data.
- TrajectoryCalculator.cs: Implements trajectory calculation algorithms useful for tracking movement patterns and navigation.
- These modules are located in the Analysis folder and extend SpatialUtils with robust analytical capabilities.
Fully Decoupled Architecture
- Designed to integrate seamlessly into any project without imposing dependencies on your data model.
Installation
Add a reference to the SpatialUtils.dll in your project and ensure you reference any necessary geospatial libraries (e.g., NetTopologySuite).
Alternatively, install the NuGet package using one of the following commands:
Using the NuGet Package Manager Console:
Install-Package SpatialUtils -Version 1.7.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 was computed. 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. |
-
net6.0
- GeoAPI.CoordinateSystems (>= 1.7.5)
- Microsoft.EntityFrameworkCore (>= 6.0.36)
- NetTopologySuite (>= 2.6.0)
- NetTopologySuite.IO.GeoJSON (>= 4.0.0)
- ProjNet (>= 2.0.0)
- ProjNET4GeoAPI (>= 1.4.0)
- SkiaSharp (>= 3.116.1)
-
net8.0
- GeoAPI.CoordinateSystems (>= 1.7.5)
- Microsoft.EntityFrameworkCore (>= 6.0.36)
- NetTopologySuite (>= 2.6.0)
- NetTopologySuite.IO.GeoJSON (>= 4.0.0)
- ProjNet (>= 2.0.0)
- ProjNET4GeoAPI (>= 1.4.0)
- SkiaSharp (>= 3.116.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|