Upgrades windshaft (and grainstore) to be able to specify the tile

format, see: https://github.com/mapnik/mapnik/wiki/OutputFormats
This commit is contained in:
Raul Ochoa
2014-08-07 01:57:21 +02:00
parent fa72f52ad4
commit 2ed656ca0d
7 changed files with 10 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ var config = {
max_size: 500
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'
,statsd: {
host: 'localhost',
port: 8125,

View File

@@ -67,6 +67,7 @@ var config = {
max_size: 500
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'
,statsd: {
host: 'localhost',
port: 8125,

View File

@@ -67,6 +67,7 @@ var config = {
max_size: 500
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'
,statsd: {
host: 'localhost',
port: 8125,

View File

@@ -67,6 +67,7 @@ var config = {
max_size: 500
}
,mapnik_version: ''
,mapnik_tile_format: 'png8:m=h'
,statsd: {
host: 'localhost',
port: 8125,

View File

@@ -49,6 +49,7 @@ module.exports = function(){
datasource: global.environment.postgres,
cachedir: global.environment.millstone.cache_basedir,
mapnik_version: global.environment.mapnik_version || mapnik.versions.mapnik,
mapnik_tile_format: global.environment.mapnik_tile_format || 'png',
default_layergroup_ttl: global.environment.mapConfigTTL || 7200,
gc_prob: 0.01 // @deprecated since Windshaft-1.8.0
},

8
npm-shrinkwrap.json generated
View File

@@ -10,12 +10,12 @@
"version": "1.3.3"
},
"windshaft": {
"version": "0.22.0",
"from": "https://github.com/CartoDB/Windshaft/tarball/0.22.0",
"version": "0.23.0",
"from": "https://github.com/CartoDB/Windshaft/tarball/0.23.0",
"dependencies": {
"grainstore": {
"version": "0.18.2",
"from": "git://github.com/CartoDB/grainstore.git#0.18.2",
"version": "0.19.0",
"from": "git://github.com/CartoDB/grainstore.git#0.19.0",
"dependencies": {
"carto": {
"version": "0.9.5-cdb2",

View File

@@ -24,7 +24,7 @@
"dependencies": {
"node-varnish": "http://github.com/Vizzuality/node-varnish/tarball/0.3.0",
"underscore" : "~1.3.3",
"windshaft" : "https://github.com/CartoDB/Windshaft/tarball/0.22.0",
"windshaft": "https://github.com/CartoDB/Windshaft/tarball/0.23.0",
"step": "0.0.x",
"request": "2.9.202",
"cartodb-redis": "git://github.com/CartoDB/node-cartodb-redis.git#0.5.0",