GIS developer toolkit for SilverStripe, turns SilverStripe into a GeoCMS and map service.
It's recommended to use composer to install the module
$ composer require smindel/silverstripe-gis
$ vendor/bin/sake dev/build flush=all
MySQL natively supports geometries since version 5.7.6 but not geographies or raster data.
When using Postgres you have to install PostGIS and composer require silverstripe/postgresql
. On Ubuntu and Debian run the following commands:
$ sudo apt-get install postgis
$ sudo apt-get install postgresql-9.5-postgis-scripts
$ sudo apt-get install postgresql-9.5-postgis-2.2
$ sudo -u postgres psql SS_gis -c "create extension postgis;"
(replace 'SS_gis' with your db name)
Steps two and three may not be necessary, so you might want to try one and four first and if four fails, do two, three and four.
In order to install Sqlite3 you have to install SpatiaLite and composer require silverstripe/sqlite3
. On Ubuntu and Debian run the following commands:
$ sudo apt install sqlite3 php-sqlite3 libsqlite3-mod-spatialite
$ sudo updatedb & locate mod_spatialite.so
> /usr/lib/x86_64-linux-gnu/mod_spatialite.so
update php.ini, set:
sqlite3.extension_dir = /usr/lib/x86_64-linux-gnu
silverstripe-gis, like any other SilverStripe module, can be configured using YAML files, the Config class or private static properties of Configurables. Check out the following sections to see what can be configured.
The module is incompatible with the framework versions 4.3.1 and 4.3.2, which disallowed parameterised field assignments. The issue has been fixed, so that all versions of the framework before 4.3.1 and after 4.3.2 are working.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem