Skip to content

hosseinnarimanirad/Maptor

besmellah

🌍 Maptor Spatial Library

A .NET Library for Spatial Data Modeling, Transfer, Processing, and Visualization

License: MIT Build Contributions Welcome

Maptor is an open-source .NET GIS library designed to make spatial operations, geospatial data processing, and map visualization easy and efficient.
Built for .NET 8+, it provides a comprehensive set of tools for geometry operations, coordinate transformations, raster & vector data handling, and OGC standards support.


✨ Key Features

βœ… Spatial Reference Systems (SRS) – Coordinate transformations (WGS84, UTM, Mercator, WebMercator, custom SRIDs)
βœ… Geometry Operations – Points, Lines, Polygons, MultiPoints, MultiLines, MultiPolygons.
βœ… Geodetic Calculations – Distance, azimuth, and area computations.
βœ… Raster & Vector I/O – Shapefiles, GeoJSON, SQL Server, PostgreSQL, Personal GDB, GPX, WKB, WKT, and raster support.
βœ… Graph algorithms – BFS, DFS, Minimum spanning tree, Dijkstra, MinCut, FloydWarshall.
βœ… OGC Standards - WKB, WKT, WFS, WMS, GML 2, GML 3.
βœ… Database integration - SQL Server Spatial, PostGIS
βœ… WPF-based map viewer for desktop apps


πŸ— Repository Structure

Maptor /
β”œβ”€β”€ IRI.Maptor.Sta/                     # Core spatial data structures & algorithms
β”œβ”€β”€ IRI.Maptor.Ket/                     # Utilities (data sources, file I/O)
β”œβ”€β”€ IRI.Maptor.Jab/                     # WPF components (MapViewer, dialogs, etc.)
β”œβ”€β”€ IRI.Maptor.Tst/                     # Unit tests
└── Examples/                    # Usage samples

πŸ“¦ NuGet Packages

Maptor consists of multiple modular packages.

Package Description Version
IRI.Maptor.Sta.Spatial Core spatial functionalities (GeoJSON, analysis, etc.) NuGet
IRI.Maptor.Sta.ShapefileFormat Read/Write shapefile (shp, shx, dbf, prj, etc.) NuGet
IRI.Maptor.Sta.SpatialReferenceSystem Coordinate system transformations (UTM, Mercator, Geodetic, Lambert, etc.) NuGet
IRI.Maptor.Sta.Ogc OGC standard implementations (GML, WKB, WKT, KML, SLD, WMS, WFS, etc.) NuGet
IRI.Maptor.Sta.Graph Graph Algorithms (BFS, DFS, Minimum spanning tree, Dijkstra, MinCut, etc.) NuGet
IRI.Maptor.Jab.Controls WPF Map user controls (map, map panel, map coordinate system, etc.) NuGet
β–Ά Show more packages
Package Description Version
IRI.Maptor.Jab.Common Basic UI models, rendering methods etc. NuGet
IRI.Maptor.Ket.GdiPlus Raster data handling, Worldfile, PCA, raster calculation NuGet
IRI.Maptor.Ket.PersonalGdbPersistence Read/Write Personal GDB files NuGet
IRI.Maptor.Ket.PostgreSqlPersistence Read/Write PostgreSQL NuGet
IRI.Maptor.Ket.SqlServerPersistence Read/Write SQL Server spatial NuGet
IRI.Maptor.Ket.SqlServerSpatialExtension Work with SqlGeometry & SqlGeography NuGet
IRI.Maptor.Sta.Common Base functionalities NuGet
IRI.Maptor.Sta.GsmGprs SMS encoding in GSM NuGet
IRI.Maptor.Sta.MachineLearning Clustering, Apriori, Logistic Regression NuGet
IRI.Maptor.Sta.Persistence Base classes for persistence layers, MemoryDataSource, GeoJsonDataSource, etc. NuGet
IRI.Maptor.Sta.Security Encryption, hashing, etc. NuGet

πŸ‘‰ Browse all packages on NuGet.org


Installation Example via NuGet CLI:

dotnet add package IRI.Maptor.Sta.Common
dotnet add package IRI.Maptor.Jab.Controls

πŸš€ Quick Start

1. Clone & Build

git clone https://github.com/hosseinnarimanirad/Maptor.git  
dotnet build  

πŸ“š Documentation

➑ Full documentation and guides


🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md and our Code of Conduct.


πŸ“œ License

Maptor is released under the MIT License.

About

Maptor (MakanNegar): Open-source .NET GIS library for spatial data processing, analysis, and visualization

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages