SpatialLITE is a lightweight .NET library for spatial data processing.
- Reads / writes data in variety of formats
- WKT (Well-known text)
- WKB (Well-known binary)
- GPX
- OpenStreetMap XML
- OpenStreetMap PBF
- Analytics functions
- Distance / area calculations
- Basic topology analysis
Install the NuGet package:
Install-Package SpatialLite.CoreUse library:
var geometry = WktReader.Parse<LineString>("linestring (-10.1 15.5, 20.2 -25.5, 30.3 35.5)");
Console.WriteLine("Start point: {0}", geometry.Start);
Console.WriteLine("End point: {0}", geometry.End);
// Writes:
// Start point: [-10.1; 15.5; NaN, NaN]
// End point: [30.3; 35.5; NaN, NaN]SpatialLITE is distributed as a set of NuGet packages. You can install only packages, you need.
API reference and more complex examples are available at http://spatial.litesolutions.net
Provides contains basic data structures for geospatial data and common infrastructure. It is required by all provided add-ons.
Add-on for the SpatialLite library that adds support for GPX data format.
Add-on for the SpatialLite library that adds support for OpenStreetMap data formats.
- Have you find a bug? Do you have an idea for a new feature? ... open an issue on GitHub
- Do you have a question? ... ask on StackOverflow
- Do you want to contribute piece of code? ... submit a pull-request
masterbranch contains released codedevelopbranch contains code being worked on
The repository uses GitHub Actions for continuous integration. The CI pipeline automatically builds all projects and runs tests for pull requests to the develop branch.
This project is licensed under the MIT License - see the LICENSE file for details