From e5cae8b8e3e530fc891cfccb1be0e4c9cdbcfcd0 Mon Sep 17 00:00:00 2001 From: David Manzanares Date: Thu, 28 Sep 2017 13:24:50 +0200 Subject: [PATCH] Added flag documentation --- config/environments/development.js.example | 3 +++ config/environments/production.js.example | 3 +++ config/environments/staging.js.example | 3 +++ config/environments/test.js.example | 3 +++ 4 files changed, 12 insertions(+) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index f09a3808..2bc6d2d6 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -108,6 +108,9 @@ var config = { cache_ttl: 60000, statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status mvt: { + //If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, + //PostGIS 2.4 is required for this to work + //If disabled it will use Mapnik MVT generation usePgSQL: false }, mapnik: { diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 1dd80212..87214c75 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -102,6 +102,9 @@ var config = { cache_ttl: 60000, statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status mvt: { + //If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, + //PostGIS 2.4 is required for this to work + //If disabled it will use Mapnik MVT generation usePgSQL: false }, mapnik: { diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index 7dd9f5b0..5e05c83f 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -102,6 +102,9 @@ var config = { cache_ttl: 60000, statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status mvt: { + //If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, + //PostGIS 2.4 is required for this to work + //If disabled it will use Mapnik MVT generation usePgSQL: false }, mapnik: { diff --git a/config/environments/test.js.example b/config/environments/test.js.example index b266c923..c01d52d1 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -101,6 +101,9 @@ var config = { cache_ttl: 60000, statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status mvt: { + //If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, + //PostGIS 2.4 is required for this to work + //If disabled it will use Mapnik MVT generation usePgSQL: false }, mapnik: {