Commit Graph
611 Commits
Author SHA1 Message Date
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
John Krauss af2259bb0a fix wrong number of variables INTO 2016-07-13 13:39:33 -04:00
John Krauss fb083f4b9e fix typo 2016-07-13 13:30:05 -04:00
John Krauss 976e119abb fix typo 2016-07-13 12:21:53 -04:00
John Krauss bbc6f9ef36 getmeasure bypassing several older functions, areas not yet implemented 2016-07-13 12:20:01 -04:00
John Krauss 5229279ee9 Merge branch 'comment-notices' into release-v-1.0.2-preview 2016-07-13 11:14:00 -04:00
John Krauss 91797918c1 Merge branch 'fix-hardcoded-getcategory-geom' into release-v-1.0.2-preview 2016-07-12 16:10:19 -04:00
John Krauss 6a39bedee7 fix ambiguous colname for categories in points too 2016-07-12 16:10:00 -04:00
John Krauss 6ce0e5a8d9 Merge branch 'fix-hardcoded-getcategory-geom' into release-v-1.0.2-preview 2016-07-12 16:08:05 -04:00
John Krauss 81176d1df2 fix possible ambiguity in category colname 2016-07-12 16:06:19 -04:00
John Krauss f22854b4e9 Merge branch 'fix-hardcoded-getcategory-geom' into release-v-1.0.2-preview 2016-07-12 15:58:02 -04:00
John Krauss 54701d595a Merge branch 'obs-meta-internal' into release-v-1.0.2-preview 2016-07-12 15:57:44 -04:00
John Krauss 4b26eeda65 fix to correct segment for testarea area 2016-07-12 15:33:26 -04:00
John Krauss 4fc02f99e2 choose largest segment in the polygon 2016-07-12 14:37:43 -04:00
John Krauss 5bb4285528 fix typo 2016-07-12 14:16:28 -04:00
John Krauss 1e9c3fb860 fix typo 2016-07-12 14:15:00 -04:00
John Krauss 62a2c259a7 fix typo 2016-07-12 14:13:09 -04:00
John Krauss 61854a070d fix wrong quoting 2016-07-12 14:11:02 -04:00
John Krauss 8654c22c87 handle area categories properly 2016-07-12 14:06:43 -04:00
John Krauss 62c08864af remove bad "target_table" notice 2016-07-12 12:37:30 -04:00
John Krauss af39a37b43 fix missing comma 2016-07-12 12:34:32 -04:00
John Krauss 26b61a6ddb minor formatting 2016-07-12 12:26:10 -04:00
John Krauss 965fb94704 fix bugs in obs_getcategory implementation 2016-07-12 12:22:06 -04:00
John Krauss 84dec8bdf4 simplify obs_getcategory and use obs_meta 2016-07-12 12:09:42 -04:00
John Krauss 568996930b test location for MX 2016-07-12 12:02:49 -04:00
John Krauss ebc27dbbb7 faster obs_meta generation, use better formatting and handle NULL boundary_id 2016-07-12 11:52:56 -04:00
John Krauss 56fa19118b adjust expectations 2016-07-12 11:25:50 -04:00
John Krauss 4f3baac10a adjust expectations and make sure echo is none 2016-07-12 11:21:42 -04:00
John Krauss b512985b46 drop/create less, better indexes 2016-07-12 11:15:08 -04:00
John Krauss 329b4dbca3 do not imitate foreign keys 2016-07-12 10:46:53 -04:00
John Krauss 897cf38d42 faster generation of obs-meta via indexes 2016-07-12 10:42:00 -04:00
John Krauss fe6343c73f should use coaelesce, not nullif 2016-07-12 10:16:19 -04:00
John Krauss 26ee8aedb1 solve null identifier issue 2016-07-12 10:16:13 -04:00