converting to point geoms

This commit is contained in:
Andy Eschbacher 2016-05-10 15:44:58 -04:00
parent f9394129d9
commit 7c655dcaa6

View File

@ -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,