@@ -27,10 +27,11 @@ There are also proof-of-concept ports of this script that only support basic RES
27
27
28
28
## Requirements
29
29
30
- - PHP 7.0 or higher with PDO drivers for MySQL, PgSQL or SqlSrv enabled
30
+ - PHP 7.0 or higher with PDO drivers for MySQL, PgSQL, SqlSrv or SQLite enabled
31
31
- MySQL 5.6 / MariaDB 10.0 or higher for spatial features in MySQL
32
32
- PostGIS 2.0 or higher for spatial features in PostgreSQL 9.1 or higher
33
33
- SQL Server 2012 or higher (2017 for Linux support)
34
+ - SQLite 3 or higher (has no geospatial support)
34
35
35
36
## Installation
36
37
@@ -64,8 +65,8 @@ Edit the following lines in the bottom of the file "`api.php`":
64
65
65
66
These are all the configuration options and their default value between brackets:
66
67
67
- - "driver": ` mysql ` , ` pgsql ` or ` sqlsrv ` (` mysql ` )
68
- - "address": Hostname of the database server (` localhost ` )
68
+ - "driver": ` mysql ` , ` pgsql ` , ` sqlsrv ` or ` sqlite ` (` mysql ` )
69
+ - "address": Hostname (or filename) of the database server (` localhost ` )
69
70
- "port": TCP port of the database server (defaults to driver default)
70
71
- "username": Username of the user connecting to the database (no default)
71
72
- "password": Password of the user connecting to the database (no default)
@@ -85,7 +86,7 @@ These are all the configuration options and their default value between brackets
85
86
These limitation and constrains apply:
86
87
87
88
- Primary keys should either be auto-increment (from 1 to 2^53) or UUID
88
- - Composite primary or foreign keys are not supported
89
+ - Composite primary and composite foreign keys are not supported
89
90
- Complex writes (transactions) are not supported
90
91
- Complex queries calling functions (like "concat" or "sum") are not supported
91
92
- Database must support and define foreign key constraints
0 commit comments