SpatialLITE is a lightweight .NET Core 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.Core
Use 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
master
branch contains the code being worked on
This project is licensed under the MIT License - see the LICENSE file for details