Rename overviews_query_rewriter -> overviews-query-rewriter

This commit is contained in:
Daniel García Aubert 2019-10-07 10:06:01 +02:00
parent 3acaac5403
commit 8fe0112568
5 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ var BBoxFilter = require('../models/filter/bbox');
var DataviewFactory = require('../models/dataview/factory'); var DataviewFactory = require('../models/dataview/factory');
var DataviewFactoryWithOverviews = require('../models/dataview/overviews/factory'); var DataviewFactoryWithOverviews = require('../models/dataview/overviews/factory');
const dbParamsFromReqParams = require('../utils/database-params'); const dbParamsFromReqParams = require('../utils/database-params');
var OverviewsQueryRewriter = require('../utils/overviews_query_rewriter'); var OverviewsQueryRewriter = require('../utils/overviews-query-rewriter');
var overviewsQueryRewriter = new OverviewsQueryRewriter({ var overviewsQueryRewriter = new OverviewsQueryRewriter({
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)' zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
}); });

View File

@ -2,7 +2,7 @@
const fqdn = require('@carto/fqdn-sync'); const fqdn = require('@carto/fqdn-sync');
var _ = require('underscore'); var _ = require('underscore');
var OverviewsQueryRewriter = require('./utils/overviews_query_rewriter'); var OverviewsQueryRewriter = require('./utils/overviews-query-rewriter');
var rendererConfig = _.defaults(global.environment.renderer || {}, { var rendererConfig = _.defaults(global.environment.renderer || {}, {
cache_ttl: 60000, // milliseconds cache_ttl: 60000, // milliseconds

View File

@ -3,7 +3,7 @@
var _ = require('underscore'); var _ = require('underscore');
var serverOptions = require('../../../../lib/server_options'); var serverOptions = require('../../../../lib/server_options');
var mapnik = require('windshaft').mapnik; var mapnik = require('windshaft').mapnik;
var OverviewsQueryRewriter = require('../../../../lib/utils/overviews_query_rewriter'); var OverviewsQueryRewriter = require('../../../../lib/utils/overviews-query-rewriter');
var overviewsQueryRewriter = new OverviewsQueryRewriter({ var overviewsQueryRewriter = new OverviewsQueryRewriter({
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)' zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
}); });

View File

@ -3,7 +3,7 @@
require('../../support/test_helper'); require('../../support/test_helper');
var assert = require('assert'); var assert = require('assert');
var OverviewsQueryRewriter = require('../../../lib/utils/overviews_query_rewriter'); var OverviewsQueryRewriter = require('../../../lib/utils/overviews-query-rewriter');
var overviewsQueryRewriter = new OverviewsQueryRewriter({ var overviewsQueryRewriter = new OverviewsQueryRewriter({
zoom_level: 'ZoomLevel()' zoom_level: 'ZoomLevel()'
}); });