Commit Graph

601 Commits

Author SHA1 Message Date
John Krauss
c4f3c5d534 selectively pass through obs geometries and area calcs 2017-03-10 16:23:27 +00:00
John Krauss
d5e7d95824 fix performance regression on getboundariesbygeometry, where pct overlap was being unnecessarily calculated 2017-03-09 21:26:53 +00:00
John Krauss
3ff1b36d7f remove erroneous NOTICE 2017-03-09 20:46:38 +00:00
John Krauss
7ef035580f avoid geom calculation when points are passed in 2017-03-09 17:29:41 +00:00
John Krauss
20b347528c tests passing 2017-03-09 17:14:20 +00:00
John Krauss
d070802f53 resolving API bugs 2017-03-09 16:17:58 +00:00
John Krauss
3f817f8e9a bugfixes, most unit tests passing 2017-03-09 05:03:25 +00:00
John Krauss
5ca2664a17 first pass much faster multicolumn getdata via precalcs 2017-03-09 04:12:38 +00:00
John Krauss
1b913c77c4 fix last oustanding bug with autotest 2017-03-08 23:18:07 +00:00
John Krauss
22eb6349c2 fix issues with python autotest failing for nulls, try removing case statements around geometries in getdata 2017-03-08 21:17:45 +00:00
John Krauss
862db2c33a Merge remote-tracking branch 'origin/release-v-1.3.3' into faster-autotest
Conflicts:
	src/pg/sql/40_observatory_utility.sql
2017-03-08 20:52:31 +00:00
John Krauss
e2f92d78cf much faster autotest by grouping in getdata, fixes to getdata to prevent hangs 2017-03-08 20:51:41 +00:00
John Krauss
3b6b1b4843 limit safe_intersection to SRID 4326, DRY out ST_MakeValid 2017-03-08 15:52:19 +00:00
John Krauss
deede798e9 fix non-noded intersection between shoreline clipped and non-shoreline clipped geometries by using a safe_intersection function 2017-03-07 20:38:12 +00:00
John Krauss
fd3918b29c fix divide-by-zero errors 2017-03-07 16:45:15 +00:00
John Krauss
cdf7b17a4d tmp commit 2017-03-07 15:29:09 +00:00
John Krauss
50ec6dddf6 release-v1.3.2 artifact 2017-03-02 21:16:22 +00:00
John Krauss
0ebe9babeb update tests 2017-03-02 21:09:23 +00:00
John Krauss
4fad32d5f2 fix and NEWS.md 2017-03-02 21:07:29 +00:00
John Krauss
f0efa1e2eb release v1.3.1 2017-03-01 16:33:35 +00:00
John Krauss
bcbd8a2be4 change OBS_GetLegacyMetadata to return median/average measures too when called for polygons 2017-03-01 16:03:14 +00:00
John Krauss
71d891c067 handle blank aggregates 2017-02-16 17:53:38 +00:00
John Krauss
01b56fbfcc update fixtures 2017-02-16 17:38:18 +00:00
John Krauss
9bda063148 Merge branch 'nonsum-interpolation' into release-v-1.3.1 2017-02-16 17:20:38 +00:00
John Krauss
4a97689705 add point for au 2017-02-16 16:50:40 +00:00
John Krauss
2edb850a45 estimate average and median across arbitrary areas if universe is provided, otherwise return null and raise a notice. fixes #252 2017-02-10 01:08:10 +00:00
Mario de Frutos
0f372604db Remove fdw utilities 2017-01-26 11:57:24 +01:00
Mario de Frutos
c5a715f7b5 Delete empty sql file used for plpython code 2017-01-25 19:03:51 +01:00
John Krauss
e4b38413cd skip a few autotests that are failing, but not meaningfully exposed in interfaces 2017-01-25 17:23:36 +00:00
John Krauss
ee84604ced empty file to clear out artifacts from built extension 2017-01-25 17:09:38 +00:00
John Krauss
5e7bffae6a remove plpython and python code for now. also removed mistaken installation of postgres_fdw in tests 2017-01-25 16:59:37 +00:00
John Krauss
aa807eb65b fix hang generating fixtures 2017-01-18 23:28:46 +00:00
John Krauss
80277ba065 optimizations for cases where small amounts of metadata passed into obs_getmeta 2017-01-18 23:15:27 +00:00
John Krauss
0e4a514753 use simplification in obs_getdata for very complex geoms 2017-01-18 21:44:02 +00:00
John Krauss
fc74529a04 ensure fixture creation worked or do not run tests 2017-01-18 21:16:53 +00:00
John Krauss
0e99e62eb2 remove unused table-level functions and dependencies 2017-01-17 22:51:30 +00:00
John Krauss
3db98fb522 full testing suite for obs_getdata and obs_getmeta 2017-01-17 22:49:29 +00:00
John Krauss
c18f16ed6d handle cases with mixed geometries in obs_getdata correctly 2017-01-17 22:49:04 +00:00
John Krauss
afe4c27dd5 obs_getdata takes api_method and api_args in both forms, and handles them correctly; cleanup to getdata, added more tests 2017-01-14 01:14:42 +00:00
John Krauss
c2dc4fb8b9 add test for third-party call 2017-01-10 21:55:48 +00:00
John Krauss
bc4f1b5909 support use of dynamic tables (API-generated) in obs_getdata 2017-01-10 21:44:49 +00:00
John Krauss
267af19911 fix perftest to work with renamed core functions 2017-01-10 16:03:12 +00:00
John Krauss
7c093741dc major refactor of internals 2017-01-10 02:28:38 +00:00
John Krauss
4886222776 adaptation of obs_getmeasuredatamulti that can return geoms from a boundingbox 2017-01-04 21:18:56 +00:00
John Krauss
ddbe1b6763 return shops as part of POI for OSM 2017-01-04 18:23:52 +00:00
John Krauss
218840bfa8 first-pass function for overpass working 2017-01-04 16:59:48 +00:00
John Krauss
000a440417 resolve issues in build and with code, now returning geometries and data as expected from obs_getoverpass 2017-01-03 16:37:16 +00:00
John Krauss
ff50c5e2bf first pass on overpass api, still getting an error with columns 2017-01-03 15:39:01 +00:00
John Krauss
d7552031f6 support obtaining text measures with obs_getmeasuredatamulti 2016-12-29 23:01:48 +00:00
John Krauss
39eb031316 support POINT and LINESTRING types from obs_getboundaries 2016-12-29 17:07:38 +00:00
John Krauss
5bdcb59df3 remove commented code 2016-12-28 19:34:37 +00:00
John Krauss
6e475cf210 fix uppercase NULL in tests 2016-12-28 19:17:57 +00:00
John Krauss
eb508c5d16 Revert "subdivide complex geoms in obs_getmeasure"
This reverts commit d44887b2b3.
2016-12-28 18:40:01 +00:00
John Krauss
bbd0cc0938 capture boundary in multi, capture message from env 2016-12-28 16:54:16 +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
24587b7e03 switch over to multi for the "split" test 2016-12-19 16:49:50 +00:00
John Krauss
2398b0268f major performance speedup for obs_getmeasuremeta 2016-12-16 21:54:42 +00:00
John Krauss
4c6d854e81 Merge branch 'release-v-1.1.7' into obs_getmeasure_res_bypass 2016-12-16 18:01:17 +00:00
John Krauss
fd32f962f2 remove failing MX test 2016-12-15 20:19:12 +00:00
John Krauss
5a5d5a9386 tests pass, although obs_getmeasure performance suffers 2016-12-14 22:58:22 +00:00
John Krauss
88d1145c12 fix issue with NULL being passed into obs_getmeasure, add tests for obs_getmeasuremeta and obs_getmeasuredata 2016-12-13 15:43:04 +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
d17b865648 add test that takes out the geom component 2016-12-12 21:49:00 +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
82137d5679 Merge branch 'develop' into raster-simplification-experiments 2016-12-12 17:36:12 +00:00
Mario de Frutos
aa3e0ed76b Version 1.1.6 release artifacts 2016-12-12 16:44:36 +01: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
e33bcae964 add several ignored MX measures likely due to new geometry scoring 2016-12-08 03:21:04 +00:00
John Krauss
48a8df8b98 switch brazil testpoint 2016-12-08 03:13:55 +00:00
John Krauss
4b9ba06b42 fix lat/lng switch for brazil 2016-12-08 02:55:53 +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
39473db14b Merge branch 'improve-perftest' into complex-geom-perf-improvements 2016-12-08 02:21:29 +00:00
John Krauss
b7ee3a6d67 perftest updates, adding BR test point 2016-12-08 02:17:38 +00:00
John Krauss
1aca5b5ff0 Merge branch 'improve-perftest' into complex-geom-perf-improvements 2016-12-05 22:57:03 +00:00
John Krauss
255f8dc18e support peristence of test results to JSON 2016-12-05 22:55:14 +00:00
John Krauss
463db99222 add perf tests for different geometry complexities as well as all code branches for getmeasure 2016-12-05 18:51:58 +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
Mario de Frutos
603d26c674 Version 1.1.5 artifacts 2016-11-29 17:43:28 +01: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
Mario de Frutos
713aacf535 Version 1.1.4 artifact 2016-11-22 10:03:22 +01:00
John Krauss
fa778f4eb0 test for #216 2016-11-21 22:03:31 +00:00
John Krauss
22a413102b Fixes bug where multiple subsections returned from OBS_LegacyBuilderMetadata, #216 2016-11-21 21:50:56 +00:00
Mario de Frutos
54d512d4fb Release 1.1.3 artifact 2016-11-17 20:03:50 +01:00
John Krauss
62e13086e1 release v1.1.3 2016-11-15 18:36:53 +00:00