From 530ce4e61ec2b45342ffb319a87d49f7ac1dd2e3 Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Fri, 29 Apr 2016 08:52:05 -0700 Subject: [PATCH] changing overlap default to intersects --- src/pg/sql/44_observatory_geometries.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pg/sql/44_observatory_geometries.sql b/src/pg/sql/44_observatory_geometries.sql index 50a239e..2bb0c13 100644 --- a/src/pg/sql/44_observatory_geometries.sql +++ b/src/pg/sql/44_observatory_geometries.sql @@ -249,7 +249,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByBBox( geom geometry(Geometry, 4326), boundary_id text, time_span text DEFAULT NULL, - overlap_type text DEFAULT 'contains') + overlap_type text DEFAULT 'intersects') RETURNS TABLE(boundary geometry, geom_refs text) AS $$ DECLARE @@ -327,7 +327,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByPointAndRadius( radius numeric, -- radius in meters boundary_id text, time_span text DEFAULT NULL, - overlap_type text DEFAULT 'contains') + overlap_type text DEFAULT 'intersects') RETURNS TABLE(boundary geometry, geom_refs text) AS $$ DECLARE @@ -370,7 +370,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByBBox( geom geometry(Geometry, 4326), boundary_id text, time_span text DEFAULT NULL, - overlap_type text DEFAULT 'contains') + overlap_type text DEFAULT 'intersects') RETURNS TABLE(boundary geometry, geom_refs text) AS $$ DECLARE @@ -441,7 +441,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByPointAndRadius( radius numeric, -- radius in meters boundary_id text, time_span text DEFAULT NULL, - overlap_type text DEFAULT 'contains') + overlap_type text DEFAULT 'intersects') RETURNS TABLE(boundary geometry, geom_refs text) AS $$ BEGIN