Commit Graph
210 Commits
Author SHA1 Message Date
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 6a39bedee7 fix ambiguous colname for categories in points too 2016-07-12 16:10:00 -04:00
John Krauss 81176d1df2 fix possible ambiguity in category colname 2016-07-12 16:06:19 -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 ebc27dbbb7 faster obs_meta generation, use better formatting and handle NULL boundary_id 2016-07-12 11:52:56 -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
John Krauss 6b41994a87 add missing formatstring args 2016-07-12 10:15:53 -04:00
John Krauss d3d5cbdbbd use obs_meta in obs_getmeasurebyid 2016-07-12 10:15:44 -04:00
John Krauss 4d51ecc12e comment out notices 2016-07-12 10:14:59 -04:00
John Krauss 11dbb860ab preemptively set_srid for obs_getavailableboundaries 2016-07-01 18:43:05 +02:00
John Krauss cf7c115a76 Merge branch 'release-v-0.0.6' into fix-geom_geoid_colname 2016-06-27 12:39:09 -04:00
John Krauss 4e8341daab Merge branch 'release-v-0.0.6' into obs-dump-version 2016-06-27 12:37:15 -04:00
John Krauss ca4327d3cd use data_geoid_colname with data table, reenable area-based measure tests that can catch this bug 2016-06-27 11:55:03 -04:00
John Krauss bac48d7bea add missing RETURN 2016-06-22 14:35:40 -04:00
John Krauss 446bdec30d obs_dumpversion and associated tests 2016-06-22 14:29:58 -04:00
John Krauss 975137641d fix ambiguous reference o the_geom 2016-06-22 13:38:29 -04:00
John Krauss 9379224629 use intersection against geom instead of && against bounds, update fixtures 2016-06-22 12:20:52 -04:00
Andy Eschbacher 43dc37f62b Merge branch 'develop' into add-getmeasurebyid 2016-05-26 13:31:55 -04:00
Andy Eschbacher b5267c14bf removes unneeded todo 2016-05-24 13:15:19 -04:00
Andy Eschbacher 94756a2377 minor formatting changes 2016-05-24 11:27:41 -04:00
Andy Eschbacher 2e312464aa fixes geom_ref in where condition 2016-05-24 11:22:39 -04:00