lib/renderers/torque/renderer.js
Function getTileData
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getTileData (psql, coord, zoom, layerSql, attrs) {
let columnConv = attrs.column;
if (attrs.is_time) {
columnConv = format("date_part('epoch', {column})", attrs);
Function defaultTileSQLTemplate
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultTileSQLTemplate () {
return `
WITH par AS (
WITH innerpar AS (
SELECT