Wiki » History » Version 33
Version 32 (Philippe May, 12/10/2018 15:49) → Version 33/46 (Philippe May, 12/10/2018 15:54)
h1. Software
Gisaf (for, eg, GIS Auroville Front-end) is a web application that is under development.
[[User manual]]
[[Server]]
[[Client]]
[[Stack]]
[[Mapbox]]
h2. Database
Gisaf uses a Postgis database.
h3. Creation
To create an appropriate database, run these commands:
<pre>
createuser avgis -P
createdb avgis -O avgis
psql avgis -c "CREATE EXTENSION postgis;"
</pre>
h3. Notes
The geometry features' metadata MUST be set with the proper SRID, which can be tricky. See below.
h3. Import files
h2. Development
See the README file
h2. Configuration
TODO: more about parameters of the conf file
h3. Map
The default view of the map can be configured in the gisaf yaml config, eg:
<pre>
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
</pre>
h3. Production
Gisaf reads the file @/etc/gisaf/prod.yml@ at boot.
h3. Development
Gisaf reads the @~/.gisaf/prod.yml@ file at boot.
h2. Third party
h3. TileServer
Serve the vector tiles for mapbox-gl locally: [[ TileServer ]]
Alternative: see #6907
Gisaf (for, eg, GIS Auroville Front-end) is a web application that is under development.
[[User manual]]
[[Server]]
[[Client]]
[[Stack]]
[[Mapbox]]
h2. Database
Gisaf uses a Postgis database.
h3. Creation
To create an appropriate database, run these commands:
<pre>
createuser avgis -P
createdb avgis -O avgis
psql avgis -c "CREATE EXTENSION postgis;"
</pre>
h3. Notes
The geometry features' metadata MUST be set with the proper SRID, which can be tricky. See below.
h3. Import files
h2. Development
See the README file
h2. Configuration
TODO: more about parameters of the conf file
h3. Map
The default view of the map can be configured in the gisaf yaml config, eg:
<pre>
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
</pre>
h3. Production
Gisaf reads the file @/etc/gisaf/prod.yml@ at boot.
h3. Development
Gisaf reads the @~/.gisaf/prod.yml@ file at boot.
h2. Third party
h3. TileServer
Serve the vector tiles for mapbox-gl locally: [[ TileServer ]]
Alternative: see #6907