Repository navigation
IRI.Maptor.Sta.ShapefileFormat Home
Hossein Narimani Rad edited this page Sep 28, 2025
·
4 revisions
Welcome to the comprehensive documentation for the IRI.Maptor.Sta.ShapefileFormat library - a powerful .NET library for reading, writing, and converting ESRI Shapefile formats.
| Topic | Description |
|---|---|
| π Home | This overview page |
| π Usage Guide | Comprehensive usage documentation |
| πΊοΈ Coordinate Systems | Projections and transformations |
| π‘ Examples | Code examples and tutorials |
| β Troubleshooting | FAQ and common issues |
The IRI.Maptor.Sta.ShapefileFormat library is a comprehensive .NET Standard 2.1 library that provides:
- Complete ESRI Shapefile Support: Read and write all standard shapefile components (SHP, DBF, SHX, PRJ, CPG)
- Advanced Geometry Support: All ESRI geometry types including Point, Polyline, Polygon, and Multipoint variants
- International Character Support: Robust encoding support for global character sets
- Coordinate System Transformations: Full projection and coordinate system support
- High Performance: Memory-efficient streaming APIs for large datasets
- Type Safety: Strongly-typed attribute data handling
- .NET Standard 2.1 or higher
- Visual Studio 2019 or later (for development)
- Windows, macOS, or Linux (cross-platform support)
Install-Package IRI.Maptor.Sta.ShapefileFormatdotnet add package IRI.Maptor.Sta.ShapefileFormat<PackageReference Include="IRI.Maptor.Sta.ShapefileFormat" Version="1.0.0" />using IRI.Maptor.Sta.ShapefileFormat;
// Read a shapefile
var shapes = await Shapefile.ReadShapesAsync("data.shp");
// Process geometries
foreach (var shape in shapes)
{
Console.WriteLine($"Geometry: {shape.AsSqlServerWkt()}");
}- SHP - Geometry storage with full ESRI specification compliance
- DBF - Attribute data with advanced encoding support
- SHX - Shape index for fast spatial queries
- PRJ - Projection and coordinate system information
- CPG - Code page detection for character encoding
| Point Types | Polyline Types | Polygon Types | Multipoint Types |
|---|---|---|---|
| Point | Polyline | Polygon | Multipoint |
| PointM | PolylineM | PolygonM | MultipointM |
| PointZ | PolylineZ | PolygonZ | MultipointZ |
- Format Conversion: WKT, WKB, and GeoJSON support
- Internationalization: Multi-language character encoding
- Performance: Streaming APIs for large files
- Type Safety: Custom object mapping
- Coordinate Systems: Full projection support
- Spatial Indexing: Fast spatial queries
- Desktop GIS software
- Web mapping applications
- Spatial data analysis tools
- Cartographic applications
- ETL (Extract, Transform, Load) operations
- Data format conversion
- Batch processing of spatial data
- Data quality assessment
- Enterprise GIS systems
- Business intelligence with spatial data
- Location-based services
- Asset management systems
The IRI.Maptor.Sta.ShapefileFormat library is part of the larger IRI.Maptor ecosystem:
- IRI.Maptor.Sta.Common - Core primitives and utilities
- IRI.Maptor.Sta.Ogc - OGC standard implementations
- IRI.Maptor.Sta.Spatial - Spatial data structures
- Memory Efficient: Streaming readers for large files
- Fast Spatial Queries: Built-in spatial indexing
- Async Support: Non-blocking I/O operations
- Cross-Platform: .NET Standard 2.1 compatibility
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub Issues: Create an issue
- Documentation: Browse this wiki
- Examples: Check the sample projects in the repository
Last updated: December 2024
π Home
π IRI.Maptor.Sta.ShapefileFormat
Coming Soon
Coming Soon
Maptor Spatial Library Ecosystem