John Krauss
|
eb508c5d16
|
Revert "subdivide complex geoms in obs_getmeasure"
This reverts commit d44887b2b3.
|
2016-12-28 18:40:01 +00:00 |
|
John Krauss
|
d44887b2b3
|
subdivide complex geoms in obs_getmeasure
|
2016-12-28 16:19:13 +00:00 |
|
John Krauss
|
fa96de5aa9
|
remove notices from getgeometryscores
|
2016-12-28 15:57:56 +00:00 |
|
John Krauss
|
b7943ad8d2
|
fix divide by zero issues for denominated
|
2016-12-21 23:22:31 +00:00 |
|
John Krauss
|
6b071db588
|
remove notices
|
2016-12-21 23:18:25 +00:00 |
|
John Krauss
|
fbf13be62a
|
unit tests passing with 2015 geoms included, fixes to obs_getmeasure
|
2016-12-21 23:17:03 +00:00 |
|
John Krauss
|
fc3fcbec4e
|
fix broken polygon area normalization
|
2016-12-21 22:41:53 +00:00 |
|
John Krauss
|
d3a57e637c
|
keep track of table_id in obs_meta and geometryscores, use obs_getmeasure*multi for obs_getmeasure
|
2016-12-21 21:53:53 +00:00 |
|
John Krauss
|
2398b0268f
|
major performance speedup for obs_getmeasuremeta
|
2016-12-16 21:54:42 +00:00 |
|
John Krauss
|
5a5d5a9386
|
tests pass, although obs_getmeasure performance suffers
|
2016-12-14 22:58:22 +00:00 |
|
John Krauss
|
9567f52a36
|
minor tweaks to obs_getmeasuremeta and obs_getmeasuredata, good behavior for geometryscores even when null is passed as desired_num_geoms
|
2016-12-13 00:14:19 +00:00 |
|
John Krauss
|
fad7bb991b
|
split obs_getmeasuremeta and obs_getmeasuredata
|
2016-12-12 23:10:12 +00:00 |
|
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 |
|