From 7c655dcaa6dbda0fd2a982bb08008df7c298fb62 Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Tue, 10 May 2016 15:44:58 -0400 Subject: [PATCH] converting to point geoms --- src/pg/sql/44_observatory_geometries.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pg/sql/44_observatory_geometries.sql b/src/pg/sql/44_observatory_geometries.sql index 1546fff..27459a6 100644 --- a/src/pg/sql/44_observatory_geometries.sql +++ b/src/pg/sql/44_observatory_geometries.sql @@ -344,7 +344,7 @@ $$ LANGUAGE plpgsql; -- -- TODO: move to ST_DWithin instead of buffer + intersects? CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByPointAndRadius( - geom geometry(Geometry, 4326), -- point + geom geometry(Point, 4326), -- point radius numeric, -- radius in meters boundary_id text, time_span text DEFAULT NULL, @@ -485,7 +485,7 @@ $$ LANGUAGE plpgsql; -- CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByPointAndRadius( - geom geometry(Geometry, 4326), -- point + geom geometry(Point, 4326), -- point radius numeric, -- radius in meters boundary_id text, time_span text DEFAULT NULL,