Simon Martín
484e0fda2f
undo changing services params
2017-10-09 16:29:35 +02:00
Simon Martín
a21648ab4a
res.locals in layergroup controller
2017-09-29 12:32:46 +02:00
Daniel García Aubert
b56d2ec30b
Validate aggregation value
2017-08-03 12:24:05 +02:00
Daniel García Aubert
9034508244
Support automattic aggregation only when aggregation para is set to 'auto'
2017-08-01 17:15:45 +02:00
Carlos Matallín
70b4d5b7fd
replace timezone => offset
2017-07-14 18:30:36 +02:00
Daniel García Aubert
fe5c76d65b
Remove jshint hook
2017-06-08 19:25:05 +02:00
Daniel García Aubert
2772fc62d2
Use a set/dict for checking the existence
2017-06-08 18:38:44 +02:00
Daniel García Aubert
0d4ac64f00
Merge branch 'master' into 691-date-histogram
2017-06-08 18:34:25 +02:00
Daniel García Aubert
95a6ad3b86
Support quarter aggregation in histograms over date columns
2017-06-05 16:04:42 +02:00
Daniel García Aubert
c1fac13d6b
Be able to accept timezone parameter
2017-06-02 12:45:34 +02:00
Daniel García Aubert
1d66e49910
WIP implemented date histogram
2017-06-01 20:07:46 +02:00
Raul Ochoa
4b562e6768
Merge conditions
2017-05-31 13:00:37 -04:00
Raul Ochoa
b4fbe0b8cf
No in advance var definition
2017-05-31 12:58:35 -04:00
Raul Ochoa
62514fc563
Extract query rewrite data to function
2017-05-31 12:58:20 -04:00
Raul Ochoa
ef3cad6599
Extract to function
2017-05-31 12:52:41 -04:00
Raul Ochoa
4e53803b3b
Create BBoxFilter independently from rewrite data
2017-05-31 12:51:07 -04:00
Raul Ochoa
12279d5c00
Cast dataview override values to Number or throw error
...
We were letting params expected as Numbers to be passed as any type
when they were not Numbers.
2017-02-02 16:20:16 +01:00
Raul Ochoa
57bb8dbbe3
Use mapconfig to to store/retrieve dataviews queries
2016-07-06 22:31:08 +02:00
Raul Ochoa
616aac9771
Upgrade camshaft to 0.25.0
...
Use new configuration with user for nodes.
2016-07-03 10:49:45 +02:00
Raul Ochoa
dd8a70eb95
Uses node list so identical nodes are not de-duplicated and can be used with different ids
...
Fixes #528
2016-06-29 16:10:26 +02:00
Raul Ochoa
d49a877771
Fix reversed own filter option
2016-06-17 16:26:45 +02:00
Raul Ochoa
612cc3dd41
Use the_geom for intermediate dataviews
2016-06-16 17:27:00 +02:00
Raul Ochoa
050d33ff14
Use the_geom_webmercator; srid=3857 for the bounding box filter
2016-06-02 20:39:15 +02:00
Javier Goizueta
3add61ec57
Use Camshaft's API to get node filters
2016-05-19 18:32:49 +02:00
Javier Goizueta
2a06405a58
Move definition to the scope where it's needed
2016-05-18 18:21:17 +02:00
Javier Goizueta
a1e024e228
Fix dataview problem for bbox with no query rewrite data
...
Fixes #457
2016-05-18 17:49:09 +02:00
Javier Goizueta
4c375780c7
replace underscore functions by standard (ES5) equivalents
...
Note: _.find(a,...) is not replaced by a.find(...)
because it is not available for all the collections
we need it for.
2016-05-18 15:43:20 +02:00
Javier Goizueta
ba30f460ee
Remove comment
...
Overviews will not be used for dataview search
2016-05-18 13:42:58 +02:00
Javier Goizueta
df63fbbd04
Refactor filter application into own model
...
This also avoids storing an object in the overviews query rewriter
for the bbox filter (a plain data structure is used instead).
2016-05-17 13:55:00 +02:00
Javier Goizueta
9d82e8c27c
Use bounding box of dataviews to select overviews level
2016-05-13 20:47:36 +02:00
Javier Goizueta
224eb392ba
Add overviews-dependent dataviews behaviour
...
Now QueryRewriter is used in dataview objects they can decide
whether overviews are applicable, have the oportunity to
adapt queries for overviews, etc.
This is done by having overviews-related behaviour in models/dataview/overviews
and falling back to the regular models/dataview.
2016-05-13 18:46:58 +02:00
Javier Goizueta
5fb7f07498
Prevent problems with missing layers in mapconfig
2016-05-12 18:29:30 +02:00
Javier Goizueta
64a87690ee
💄 Fix line lengths, etc.
2016-05-12 16:20:34 +02:00
Javier Goizueta
3890014250
Fix QueryRewriter use
...
QueryRewriter should be passed the query that would be used otherwise.
If QR cannot handle it, it will be returned unmodified.
So QR must be used when a query has been prepared and the result
of QR should be used to replace it.
2016-05-12 10:25:09 +02:00
Javier Goizueta
65612f0109
Add filters information at map instantion time to the query rewriter data
2016-05-11 19:24:13 +02:00
Javier Goizueta
fa19f90a6a
Apply overviews query rewriter to dataviews
...
This requires the QueryRewriter to handle a filters parametes in
its data (with Camshaft filter definitions) and a final
options parameters with a bounding_box parameter.
2016-05-11 18:18:22 +02:00
Raul Ochoa
f932862ce4
Improve configuration for batch queries
2016-04-18 15:13:00 +02:00
Raul Ochoa
a26025b259
Add analysis backend so it's possible to inject configuration
2016-04-14 17:09:07 +02:00
Raul Ochoa
25a61c8479
Remove console log
2016-04-14 17:08:23 +02:00
Raul Ochoa
499178319d
Add search endpoint/backend for dataviews
2016-03-23 12:14:17 +01:00
Raul Ochoa
2bd3e46a4d
Build dataviews with factory to generalise them
2016-03-22 13:10:42 +01:00
Raul Ochoa
ebe25761d2
Extract variable
2016-03-22 10:52:02 +01:00
Raul Ochoa
b3bbb9d97a
Initial checkin for dataviews
...
It only supports histograms.
2016-03-18 17:22:02 +01:00