John Krauss
|
d4e6e7ac95
|
use obs_column_table_tile_raster with simpler bands for faster performance
|
2016-12-12 21:25:59 +00:00 |
|
John Krauss
|
21b108d32c
|
move redundant aggregates to CTE
|
2016-12-09 22:31:29 +00:00 |
|
John Krauss
|
9f640f0c35
|
use simple envelope for very complex geometries in obs_getgetgeometryscores
|
2016-12-09 21:47:30 +00:00 |
|
John Krauss
|
95b6cba085
|
remove some unnecessary calculations from obs_getgeometryscores, yields QPS improvement from about 20 to 30
|
2016-12-09 21:06:42 +00:00 |
|
John Krauss
|
6a6d1bc3e4
|
Merge branch 'release-v-1.1.6' into raster-simplification-experiments
|
2016-12-09 19:38:12 +00:00 |
|
John Krauss
|
7373794c30
|
fix divide-by-zero condition with obs_getmeasure(area) using denominator
|
2016-12-08 02:32:03 +00:00 |
|
John Krauss
|
59857355c7
|
simplifying raster experiments
|
2016-12-02 19:33:16 +00:00 |
|
John Krauss
|
44932be1f5
|
improvements to scoring, fixing oversimplification and removing some premature optimization
|
2016-12-01 21:50:39 +00:00 |
|
John Krauss
|
4ce1648550
|
score rasters with lots of missing space lower
|
2016-11-30 23:16:18 +00:00 |
|
John Krauss
|
ff0f6ea6e0
|
use st_subdivide to deal with more complex geometries
|
2016-11-30 23:15:30 +00:00 |
|
John Krauss
|
34a3aab323
|
remove redundant area checks from other polygon-based getmeasure branches
|
2016-11-30 17:24:45 +00:00 |
|
John Krauss
|
f32cc60d61
|
remove redundant area check
|
2016-11-30 17:15:39 +00:00 |
|
John Krauss
|
81c8fc316b
|
remove almost all %L formats, including all where geoms were dropped in
|
2016-11-30 16:53:22 +00:00 |
|
John Krauss
|
6c08681446
|
return NULL when there is no data for a measure at a geometry according to our raster. Fixes #220
|
2016-11-29 16:41:44 +00:00 |
|
John Krauss
|
22a413102b
|
Fixes bug where multiple subsections returned from OBS_LegacyBuilderMetadata, #216
|
2016-11-21 21:50:56 +00:00 |
|
John Krauss
|
be4b5abbfa
|
use highest ranked geom for obs_getmeasure, simplify scoring
|
2016-11-07 23:57:33 +00:00 |
|
John Krauss
|
8dad88a6b3
|
fix minor bug in _obs_getgeometryscores with FIRST, add tests
|
2016-11-07 21:26:44 +00:00 |
|
John Krauss
|
9fdca9161c
|
minor stylistic fix
|
2016-11-04 15:32:25 +00:00 |
|
John Krauss
|
785a5eed29
|
obs_getgeometryscores and usage by obs_getavailablegeometries
|
2016-11-02 21:11:38 +00:00 |
|
John Krauss
|
017b404264
|
make bounds optional for dimensional queries, add all tests
|
2016-10-04 22:21:05 +00:00 |
|
John Krauss
|
0d9f0e4996
|
allow null geom to be passed in for the obs_get* functions, add in convenience legacy builder metadata function
|
2016-10-04 19:16:32 +00:00 |
|
John Krauss
|
3602aab804
|
remove table defintions, stub in tests
|
2016-09-29 20:53:12 +00:00 |
|
John Krauss
|
48221fc358
|
Merge branch 'develop' into builder-api-func
|
2016-09-29 20:23:08 +00:00 |
|
John Krauss
|
c67fe12111
|
return NULL in cases when NULL is passed as input geometry or geometry ID. resolves #178
|
2016-09-20 16:26:13 +00:00 |
|
John Krauss
|
18cfdc60d0
|
tmp commit
|
2016-09-19 16:08:37 +00:00 |
|
Carla
|
32d37a74b3
|
Remove cascades and quote conveniently
|
2016-09-02 12:04:03 +02:00 |
|
Carla Iriberri
|
5eb4ede219
|
Fix
|
2016-08-23 17:20:48 +02:00 |
|
Carla Iriberri
|
dd5f560359
|
Separate functions between files
|
2016-08-19 16:39:30 +02:00 |
|
Carla Iriberri
|
62c2693553
|
Avoid function check to dispatch
|
2016-08-19 13:04:54 +02:00 |
|
Carla Iriberri
|
48d1bfdb13
|
Remove JSON manipulation to use json functions
|
2016-08-19 12:45:38 +02:00 |
|
Carla Iriberri
|
30f27e5b58
|
Check function name and use param names instead of
|
2016-08-18 15:43:03 +02:00 |
|
Carla Iriberri
|
26b22a9bf4
|
Use explicit functions for query construction and metadata
|
2016-08-18 15:36:32 +02:00 |
|
Mario de Frutos
|
8785639ece
|
Merge pull request #154 from CartoDB/iriberri-patch-1
Use 6432 for connections from server
|
2016-08-18 11:10:02 +02:00 |
|
John Krauss
|
af69b44f25
|
Always default to NULL, fixes #173
|
2016-07-26 13:05:40 +00:00 |
|
john krauss
|
360adc47df
|
Merge pull request #170 from CartoDB/handle-bad-geoms
Handle bad geoms
|
2016-07-25 09:15:09 -04:00 |
|
john krauss
|
571f1f343a
|
Merge pull request #168 from CartoDB/fix-per-sq-m-obs-getmeasure-area
Fix per sq m obs getmeasure area
|
2016-07-25 09:14:08 -04:00 |
|
John Krauss
|
252610673a
|
handle difficult geometries more gracefully. fixes #160
|
2016-07-25 13:05:36 +00:00 |
|
John Krauss
|
d054f37528
|
fixes #160: snaptogrid then buffer input polygons
|
2016-07-22 21:47:06 +00:00 |
|
John Krauss
|
d766f08b03
|
calculate area normalization of a polygon by square kilometer, not square meter. fixes #158
|
2016-07-22 15:18:43 +00:00 |
|
John Krauss
|
8f345fd508
|
in this function, its "measure_id" not "numer_id"
|
2016-07-21 15:35:09 -04:00 |
|
Carla
|
bfa57f4971
|
Use 6432 for connections from server
|
2016-07-19 17:54:08 +02:00 |
|
Mario de Frutos
|
876515f9aa
|
Merge pull request #127 from CartoDB/table_level_functions
Add table level functions and mocks
|
2016-07-15 15:47:02 +02:00 |
|
Carla
|
d93752efa3
|
move addr_host as a parameter
|
2016-07-15 11:34:42 +02:00 |
|
John Krauss
|
c09e0b6e83
|
can eliminate getrelatedcolumn
|
2016-07-13 18:42:25 -04:00 |
|
John Krauss
|
7bb1bbd804
|
handle predenomination of points properly
|
2016-07-13 18:37:17 -04:00 |
|
John Krauss
|
f581278b8a
|
default is now NULL
|
2016-07-13 18:24:45 -04:00 |
|
John Krauss
|
cbf1c5e67d
|
fix default normalizations
|
2016-07-13 18:16:53 -04:00 |
|
John Krauss
|
adc663b563
|
default to area normalization for point, no normalization for polygon getmeasures
|
2016-07-13 18:14:09 -04:00 |
|
John Krauss
|
3a37b98b72
|
we still needt hese for getdemographicsnapshot
|
2016-07-13 17:54:19 -04:00 |
|
John Krauss
|
a4a20e9c1d
|
prevent internal join for denominated getmeasure by polygon
|
2016-07-13 17:41:05 -04:00 |
|