Raul Marin
a673e6d138
Update dependencies
2019-09-13 16:32:37 +02:00
Raul Marin
de49aa0bd4
Aggregation: Style improvements
2019-07-16 12:49:09 +02:00
Raul Marin
65beb6e460
Tweak the tests to accept Mapnik precision as valid
2019-07-16 12:49:09 +02:00
Raul Marin
492bcbfdaa
Aggregation tests: Enable mapnik and rework the complete cells test
...
Before it used to test exact tiles, now it test that if a cell/value is included
it will contain exactly the features that we expect
2019-07-16 12:48:58 +02:00
Raul Marin
d3e807583a
Use proper mode
2019-07-16 12:48:58 +02:00
Raul Marin
892479d9b9
API changes
2019-07-16 12:48:58 +02:00
Raul Marin
5e24f650af
Rework how aggregations are calculated
...
Pending fixing Mapnik tiles (pg-mvt work ok)
2019-07-16 12:48:12 +02:00
Raul Marin
de38f1f6fd
Tests: Avoid using st_buffer(geography)
...
It's really slow with PROJ6 since it involves creating different projections for almost each point,
and that's particularly slow in the new release
2019-07-16 12:48:12 +02:00
Daniel G. Aubert
0f1a3dfb34
Merge pull request #1055 from CartoDB/1054-test
...
Test for time dimension hour format
2019-07-11 16:04:06 +02:00
Raul Marin
ae59c4f996
Merge remote-tracking branch 'blessed/master' into 1073-aggregation-false
2019-03-14 17:01:07 +01:00
Javier Goizueta
cf193a71b2
Add tests for enabling default aggregation
2019-03-06 15:28:38 +01:00
Javier Goizueta
c5f5f43ccb
Fix test for disabling aggregations
...
See #1073
2019-03-05 22:17:04 +01:00
Daniel García Aubert
5f43db2e36
Remove POSTGIS_VERSION env variable and run test using mvt renderer always
2019-02-22 08:31:22 +01:00
Javier Goizueta
b0d1d5a07a
Fix test
2018-10-31 12:39:06 +01:00
Javier Goizueta
c63380427e
Fix comment
2018-10-31 12:02:23 +01:00
Javier Goizueta
102e75ce95
Add test for hours time dimension
...
It tests the problem solved in #1054
2018-10-31 12:00:40 +01:00
Daniel García Aubert
e2d27db828
Ise strict mode for moduler under test folder
2018-10-23 18:39:02 +02:00
Javier Goizueta
d4bd706fe2
Clarify some tests
2018-10-08 19:16:32 +02:00
Javier Goizueta
9ed39f149b
Time dimension tests
2018-10-07 22:46:02 +02:00
Javier Goizueta
0e85aa56da
Fix test
2018-10-07 11:35:28 +02:00
Javier Goizueta
2f59919f84
Dimension metadata test
2018-10-07 00:29:12 +02:00
Javier Goizueta
fbcfc7a582
WIP: time dimensions for aggregation
2018-09-20 21:12:54 +02:00
Javier Goizueta
6ba9e50da7
Minor tests refactor
2018-09-13 08:54:59 +02:00
Javier Goizueta
5d813b6e43
Add more tests for aggregation accuracy
...
Some tests are skipped for Mapnik MVTs, because its bbox filtering isn't accurate
2018-09-12 19:26:09 +02:00
Javier Goizueta
acf0b082b4
Perform some tests for all placements
...
The "only the_geom" and other aggregation tests were perform only for default aggregation.
2018-09-12 11:25:21 +02:00
Javier Goizueta
51c3215137
Change UNION by UNION ALL in tests
...
It seems UNION (without ALL) can be much slower in recent PG versions
2018-07-17 12:42:33 +02:00
Javier Goizueta
e5d4369203
Fix test
2018-07-16 14:59:26 +02:00
Javier Goizueta
e1ec38446d
Add aggregation test with buffer overlapping cells partially
...
Also fix resolution parameter incrrectly placed in some tests
2018-07-16 14:27:39 +02:00
Javier Goizueta
2d102c4810
Compensate for bbox lack of accuracy
2018-07-16 12:44:30 +02:00
Javier Goizueta
e59d0f520a
Restore tests
2018-07-16 12:02:37 +02:00
Javier Goizueta
2063ac15ee
Fix long lines
2018-07-16 11:58:56 +02:00
Javier Goizueta
92ef0a60fc
Test aggregation accuracy
...
This tests #1001
2018-07-15 22:17:00 +02:00
Javier Goizueta
e21ab12e4c
Test that tiles do not contain partially aggregated clusters
...
This tests #889
2018-07-15 22:15:57 +02:00
Javier Goizueta
9cbcd43fda
Fix another test
2018-07-11 16:56:37 +02:00
Javier Goizueta
7cadbcc533
Fix tests, this time for good :fingers_crossed:
2018-07-11 16:47:10 +02:00
Javier Goizueta
d3a3a7353a
Fix tests
...
They were not numerical accuracy independent, as intended
2018-07-11 16:34:39 +02:00
Javier Goizueta
e17dd4b5fa
Make tests independent of coordinate accuracy by not placing points near tile boundaries
2018-07-11 13:19:07 +02:00
Javier Goizueta
8442a9a711
Shorten long lines
2018-07-11 11:29:22 +02:00
Javier Goizueta
c07b3de43d
Adapt tests for more accurate PROJ
...
Fixes #994
With exact point 0,0 transformations, the point is between tiles and can appear in several
2018-07-11 10:33:58 +02:00
Raul Marin
9bbbe9e7c1
Make POSTGIS_VERSION detection automatic
2018-06-11 14:47:39 +02:00
Javier Goizueta
391ac51f0f
Implement metadata queries with plain Promises
...
Remove usage of PhasedExecution
This achives better query execution granularity and
removes questionable usage of shared results object.
It introduces a couple of behavior changes:
* estimatedFeatureCount desn't ignore errors now
* sample always uses estimatedFeatureCount,even if the actual count is also computed.
2018-05-18 15:33:07 +02:00
Javier Goizueta
b8109401d1
Tests for metadata with aggregation
2018-05-13 13:05:39 +02:00
Javier Goizueta
9818d8bb6c
Merge branch 'master' into cartovl-cartodb_id
2018-04-05 16:02:03 +02:00
Javier Goizueta
f7fad736c3
Add test for uniqueness of aggregated cartodb_id
2018-04-05 16:01:29 +02:00
Javier Goizueta
3d36802686
Tests for columns present in aggregation MVTs
2018-04-04 16:58:11 +02:00
Javier Goizueta
dc706aeb43
Fix bug with dimension aliases
...
The point-sample aggregation query failed if dimensions had alias different from the base columns
2018-04-04 16:29:40 +02:00
Javier Goizueta
6ada8ba6a2
Implement aggregation filters
2018-03-21 17:01:32 +01:00
Javier Goizueta
80604b739a
Add test for aggregation with attributes
...
This reveals #860
2018-01-31 18:56:24 +01:00
Javier Goizueta
debb174af4
Add test for aggregation without the_geom
...
Only the_geom_webmercator is required for aggregation
See #841
2018-01-29 15:44:24 +01:00
Javier Goizueta
7c9b4b7283
Add test to check that cartodb_id is preseent in aggregations
...
See #846
This revealss that point-grid aggregation is missing cartodb_id
2018-01-29 12:40:59 +01:00