SpatiaLite  4.2.0
 All Data Structures Files Functions Variables Typedefs Macros Pages
Introduction

Generalities

SpatiaLite is an open source library intended to extend basic SQLite core in order to support full fledged Spatial SQL capabilities.



SQLite is intrinsically simple and lighweight:

SpatiaLite is smoothly integrated into SQLite so to deploy a complete and powerfull Spatial DBMS [mostly OGC-SFS compliant].
All this fully preserving the lightness and simplicity typical of SQLite itself.
That's not all: SpatiaLite supports direct SQL access to several commonly used external datasources, this including:

And SpatiaLite actively supports many alternative standard Geometry notations:

Conclusion: using SQLite + SpatiaLite you can deploy an alternative Spatial DBMS roughly equivalent to PostgreSQL + PostGIS.
The main difference between them isn't in powerness, but mainly relies on architecture:

Choosing the one or the other simply depends on your very specific requirements:

Building

Building and installing the SpatiaLite library is straightforward:

./configure
make
make install

Please note: SpatiaLite depends on the following open source libraries:

The library comes in two different flavors:

Deployment

You can deploy SpatiaLite in two alternative ways:

License

SpatiaLite is licensed under the MPL tri-license terms: you are free to choose the best-fit license between:

Enjoy, and happy coding