Wiki » History » Version 34
« Previous -
Version 34/46
(diff) -
Next » -
Current version
Philippe May, 12/11/2018 16:48
Software¶
Gisaf (for, eg, GIS Auroville Front-end) is a web application that is under development.
User manual
Server
Client
Stack
Mapbox
Database¶
Gisaf uses a Postgis database.
Creation¶
To create an appropriate database, run these commands:
createuser avgis -P createdb avgis -O avgis psql avgis -c "CREATE EXTENSION postgis;"
Notes¶
The geometry features' metadata MUST be set with the proper SRID, which can be tricky. See below.
Import files¶
Development¶
See the README file
Plugins¶
Gisaf can load models in external plugins. See plugins.
Configuration¶
TODO: more about parameters of the conf file
Map¶
The default view of the map can be configured in the gisaf yaml config, eg:
map: openMapTilesKey: cS3lrAfYXoM4MDooT6aS zoom: 14 pitch: 45 lat: 12.0000 lng: 79.8106 bearing: 0 style: OSM (vector) opacity: 0.3 tilesUrl: /tiles/data/india-vector.json
Production¶
Gisaf reads the file /etc/gisaf/prod.yml
at boot.
Development¶
Gisaf reads the ~/.gisaf/prod.yml
file at boot.
Third party¶
TileServer¶
Serve the vector tiles for mapbox-gl locally: TileServer
Alternative: see #6907