IRI.Maptor.Sta.Spatial 2.11.0

dotnet add package IRI.Maptor.Sta.Spatial --version 2.11.0
                    
NuGet\Install-Package IRI.Maptor.Sta.Spatial -Version 2.11.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="IRI.Maptor.Sta.Spatial" Version="2.11.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IRI.Maptor.Sta.Spatial" Version="2.11.0" />
                    
Directory.Packages.props
<PackageReference Include="IRI.Maptor.Sta.Spatial" />
                    
Project file
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 IRI.Maptor.Sta.Spatial --version 2.11.0
                    
#r "nuget: IRI.Maptor.Sta.Spatial, 2.11.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 IRI.Maptor.Sta.Spatial@2.11.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=IRI.Maptor.Sta.Spatial&version=2.11.0
                    
Install as a Cake Addin
#tool nuget:?package=IRI.Maptor.Sta.Spatial&version=2.11.0
                    
Install as a Cake Tool

IRI.Maptor.Sta.Spatial

NuGet .NET Standard

The core spatial engine of the Maptor library. Provides geometry types, spatial algorithms, advanced data structures, and a wide range of format I/O — all targeting .NET Standard 2.1 with no UI dependencies.


Features

Geometry Types

  • Full OGC geometry model: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection
  • Typed generics (Geometry<TPoint>) that carry coordinate system information
  • Geometry operations: union, intersection, difference, buffer, simplification

Spatial Analysis

  • Delaunay triangulation and Voronoi diagrams
  • Computational geometry: convex hull, visibility, polygon decomposition
  • Simplification: Douglas-Peucker, Visvalingam-Whyatt
  • Digital terrain modeling: contour generation, TIN, slope/aspect
  • Interpolation: IDW and other spatial interpolation methods
  • Shape characteristics: compactness, shape index metrics
  • Area statistics and topology analysis
  • Space-filling curves (SFC): Hilbert and Z-order (Morton) curve indexing

Spatial Indexing & Data Structures

  • KdTree — k-d tree for nearest-neighbour queries
  • RTree — R-tree for range/window queries
  • Map indexes — grid-based tile indexing

Format I/O

Format Read Write Notes
GeoJSON RFC 7946 compliant
WKT / WKB (OGC SFA) ISO/OGC compliant
Shapefile (SHP/DBF/SHX/PRJ) via Sta.ShapefileFormat
TopoJSON Topology encoding + quantization
KML / KMZ via Sta.Ogc via Sta.Ogc
DXF AutoCAD interchange with styling
SVG Round-trip coordinate preservation
EPS Round-trip coordinate preservation
GeoTIFF / Worldfile Georeferenced raster
GPX GPS tracks, routes, waypoints
GRD Grid raster format
PMTiles Serverless tile archive (v3)
Cesium Terrain quantized-mesh-1.0 and heightmap-1.0; writing not yet implemented
SQL Server Native Binary MS-SSCLRT spatial binary
ESRI JSON ArcGIS REST JSON geometry
PRJ ESRI projection WKT

Installation

dotnet add package IRI.Maptor.Sta.Spatial

Quick Start

using IRI.Maptor.Sta.Common.Primitives;
using IRI.Maptor.Sta.Spatial.Primitives;
using IRI.Maptor.Sta.SpatialReferenceSystem;
using IRI.Maptor.Extensions;

// Create a line between two points
var london   = new Point(51.5074, -0.1278);
var newYork  = new Point(40.7128, -74.0060);
var line = Geometry<Point>.CreatePointOrLineString(new List<Point> { london, newYork }, SridHelper.GeodeticWGS84);

// Measure distance
Console.WriteLine($"Ellipsoidal: {line.GetEllipsoidalLength():N1} km");
Console.WriteLine($"  Spherical: {line.GetSphericalLength():N1} km");

// Export to GeoJSON
Console.WriteLine(line.AsGeoJson().Serialize(indented: true));

Project Structure

Sta.Spatial/
├── Primitives/           # Geometry<T> and base spatial types
├── GeometryOperations/   # Boolean ops, buffering, overlays
├── Analysis/
│   ├── ComputationalGeometry.cs
│   ├── DelaunayTriangulation.cs
│   ├── VoronoiDiagram.cs
│   ├── Simplification/   # Douglas-Peucker, Visvalingam-Whyatt
│   ├── Topology/
│   ├── Interpolation/
│   ├── DigitalTerrainModeling/
│   ├── ShapeCharacteristics/
│   └── SFC/              # Space-filling curve indexing
├── AdvancedStructures/   # KdTree, RTree
├── MapIndexes/           # Tile/grid index helpers
├── IO/
│   ├── GeoJsonFormat/
│   ├── OgcSFA/           # WKT / WKB
│   ├── TopoJson/
│   ├── Dxf/
│   ├── Svg/
│   ├── Eps/
│   ├── GeoTiff/
│   ├── Gpx/
│   ├── Grd/
│   ├── PmTiles/
│   ├── CesiumTerrain/
│   ├── SqlServerNativeBinary/
│   ├── EsriJson/
│   ├── Worldfile/
│   └── Prj/
├── Extensions/           # Extension methods on geometry types
├── Helpers/
├── Models/
├── Dtos/
└── Services/

📦 NuGet: IRI.Maptor.Sta.Spatial

🐞 Issues: GitHub Issues

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on IRI.Maptor.Sta.Spatial:

Package Downloads
IRI.Maptor.Sta.Ogc

A .NET standard library containing OGC standards such as SFA, SLD, WFS, WMS, GML, KML

IRI.Maptor.Sta.ShapefileFormat

A .NET standard library to read/write shapefile (*.shp, *.shx, *.dbf, *.prj)

IRI.Maptor.Sta.Persistence

A .NET standard library containing primitive types to work with persistence laysers

IRI.Maptor.Ket.GdiPlus

Package Description

IRI.Maptor.Jab.Common

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.11.0 0 7/4/2026
2.11.0-alpha 0 7/4/2026
2.10.0-alpha 428 5/7/2026
2.9.1 426 4/16/2026
2.9.1-alpha 385 4/19/2026
2.9.0 422 2/3/2026
2.9.0-alpha 388 2/3/2026
2.8.13 452 12/26/2025
2.8.13-alpha 429 12/26/2025
2.8.12 746 12/11/2025
2.8.12-alpha 509 12/11/2025
2.8.11 735 11/19/2025
2.8.11-alpha 712 11/19/2025
2.8.10 403 11/8/2025
2.8.10-alpha 452 11/8/2025
2.8.9 399 10/31/2025
2.8.9-alpha 354 10/31/2025
2.8.8 305 10/18/2025
2.8.8-alpha 366 10/19/2025
2.8.7-alpha 358 10/4/2025
Loading failed