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 |
|
John Krauss
|
f485426085
|
fix syntax error
|
2016-07-13 17:38:54 -04:00 |
|
John Krauss
|
75e765f256
|
explicit type casts for = ANY
|
2016-07-13 17:38:05 -04:00 |
|
John Krauss
|
b690478aff
|
use IN ANY to avoid joins elsewhere, and filter by nonzero overlap for all getmeasure polygon queries
|
2016-07-13 17:36:27 -04:00 |
|
John Krauss
|
6fa9d5c96a
|
add missing array_agg
|
2016-07-13 17:27:03 -04:00 |
|
John Krauss
|
fc6317161f
|
avoid joins
|
2016-07-13 17:26:01 -04:00 |
|
John Krauss
|
c07d9f6833
|
add missing params
|
2016-07-13 17:13:45 -04:00 |
|
John Krauss
|
ff173a0152
|
filter so theres some overlap
|
2016-07-13 17:12:16 -04:00 |
|
John Krauss
|
a7de1f2228
|
intersects, not overlaps
|
2016-07-13 16:57:27 -04:00 |
|
John Krauss
|
86529ada5a
|
use st_overlaps instead of &&
|
2016-07-13 16:53:50 -04:00 |
|
John Krauss
|
80cdc5e8ca
|
fix predicate
|
2016-07-13 16:48:06 -04:00 |
|
John Krauss
|
7c8c5cca0a
|
fix params
|
2016-07-13 16:42:02 -04:00 |
|
John Krauss
|
a946ab9d03
|
fix params in denominated polygon getmeasure
|
2016-07-13 16:28:50 -04:00 |
|
John Krauss
|
da127baa3c
|
implementation for polygon/multipolygon weighted getmeasure
|
2016-07-13 16:24:33 -04:00 |
|
John Krauss
|
e89a88aa83
|
use subselects as joins are horrifically slow over FDW
|
2016-07-13 15:59:27 -04:00 |
|