SQuan.Helpers.SQLite.Spatial
Overview
SQLite.Helpers.Spatial is a library that makes working with spatial data in SQLite databases easier for .NET developers.
It bridges popular SQLite libraries and NetTopologySuite, providing a seamless way to store, retrieve, query, and manipulate geometric data using familiar .NET types. By connecting SQLite's lightweight data storage capabilities with NetTopologySuite's rich spatial model and operations, the library simplifies the development of location-aware and GIS applications.
Whether you're working with points, lines, polygons, or more complex geometries, SQLite.Helpers.Satial provides the plumbing needed to persist and query spatial data without requiring developers to build their own geometry conversion and mapping layers.
Add NuGet package
Use the NuGet Package Manager in Visual Studio to install the SQuan.Helpers.SQLite.Spatial package:
- Select Project > Manage NuGet Packages
- On the NuGet Package Manager page, next to Package source, select nuget.org
- Go to the Browse tab and search for SQuan.Helpers.SQLite.Spatial. In the list, select SQuan.Helpers.SQLite.Spatial, and then select Install.
C# Namespace
C# Classes
| Name | Description |
|---|---|
| SQLiteNetSpatialConnection | SQLite.SQLiteConnection with spatial functions |
| MicrosoftDataSqliteSpatialConnection | Microsoft.Data.Sqlite.SqliteConnection with spatial functions |
| ST | Provides C# spatial function |