Installation

Required Dependencies

To use SpatiaLite, you will need to add additional NuGet package dependencies to your project:

  • For Windows: Microsoft.Data.SQLite and mod_spatialite.
  • For Linux and macOS: SQLitePCLRaw.bundle_sqlite3.

If you are deploying your application on Linux or macOS, it is recommended to install the SpatiaLite library on your operating system:

  • Debian/Ubuntu:
    apt-get install libsqlite3-mod-spatialite
    
  • macOS:
    brew install libspatialite
    

NuGet Packages

The following packages are available:

Package Description Link
OgcApi.Net OGC API - Features implementation without specific data providers Nuget
OgcApi.Net.SqlServer SQL Server features data provider implementation Nuget
OgcApi.Net.PostGis PostgreSQL/PostGis features data provider implementation Nuget
OgcApi.Net.SpatiaLite SQLite/SpatiaLite features data provider implementation Nuget
OgcApi.Net.MbTiles MbTiles tiles provider implementation Nuget
OgcApi.Net.Schemas Schemas standard implementation Nuget

For API configuration, see API Configuration.