Windshaft-cartodb/lib/cartodb
IagoLast 3850bbb68e Send dates as unix epoch instead strings in .mvt files
This commit creates a new ConfigAdapter used in vector maps instantiations.
This adapter generates a new sql query for ONE SINGLE LAYER (carto-vl currently only supports one layer per mvt)
where the date columns are wrapped into a epoch using the `date_part` function.

Due this mvt files are smaller since we use numbers instead strings to represent dates, this is also faster in carto-gl
where we interpolate linearly between 0 and 1 to create animations.

Notice we should add a parameter to make this transformation optional.
We also should take into account the epoch precission.
2018-05-31 17:49:40 +02:00
..
api Send dates as unix epoch instead strings in .mvt files 2018-05-31 17:49:40 +02:00
backends Leave sample exclude_columns for later 2018-05-28 17:37:45 +02:00
cache Rename user limits api by user limits backend 2018-04-10 10:16:07 +02:00
models Send dates as unix epoch instead strings in .mvt files 2018-05-31 17:49:40 +02:00
monitoring Health check will always return error if file is found even if empty 2015-09-22 15:15:57 +02:00
stats Add timer helper 2016-03-18 17:21:43 +01:00
utils Send dates as unix epoch instead strings in .mvt files 2018-05-31 17:49:40 +02:00
server_options.js Avoid breaking changes 2018-05-25 14:44:58 +02:00
server-info-controller.js Meet application logic and folder struture 2018-04-09 16:18:30 +02:00
server.js Meet application logic and folder struture 2018-04-09 16:18:30 +02:00