Make POSTGIS_VERSION detection automatic

This commit is contained in:
Raul Marin
2018-06-11 14:47:39 +02:00
parent 462d25bebc
commit 9bbbe9e7c1
9 changed files with 23 additions and 9 deletions
@@ -440,7 +440,7 @@ describe('user database timeout limit', function () {
});
});
if (process.env.POSTGIS_VERSION === '2.4') {
if (process.env.POSTGIS_VERSION >= '20400') {
describe('fetching vector tiles via PostGIS renderer', function() {
const usePostGIS = true;
const originalUsePostGIS = serverOptions.renderer.mvt.usePostGIS;