From 5ea5d7707fadb424fd5a1d8b008609d1ca33bdb2 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 May 2012 18:30:16 +0200 Subject: [PATCH 1/2] Have development env use the_geom_webmercator, matching production --- config/environments/development.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/environments/development.js b/config/environments/development.js index f1dcaba8..40d7f1ff 100644 --- a/config/environments/development.js +++ b/config/environments/development.js @@ -9,9 +9,11 @@ var config = { user: "tileuser", host: '127.0.0.1', port: 5432, + /* experimental geometry_field: "the_geom", extent: "-180,-90,180,90", srid: 4326, + */ max_size: 0, simplify: true } @@ -33,4 +35,4 @@ var config = { } }; -module.exports = config; \ No newline at end of file +module.exports = config; From 0a305a9751b9c392ee173cf78d91a601dd528604 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 May 2012 18:51:21 +0200 Subject: [PATCH 2/2] Do not set postgresql.max_size=0, doesn't work as expected (#16) --- config/environments/development.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.js b/config/environments/development.js index 40d7f1ff..cae6586e 100644 --- a/config/environments/development.js +++ b/config/environments/development.js @@ -14,7 +14,7 @@ var config = { extent: "-180,-90,180,90", srid: 4326, */ - max_size: 0, + /* max_size: 0, */ /* see https://github.com/Vizzuality/Windshaft-cartodb/issues/16 */ simplify: true } ,redis: {