converting to point geoms
This commit is contained in:
parent
c1ac8ad64b
commit
c8a1265b49
@ -344,7 +344,7 @@ $$ LANGUAGE plpgsql;
|
|||||||
--
|
--
|
||||||
-- TODO: move to ST_DWithin instead of buffer + intersects?
|
-- TODO: move to ST_DWithin instead of buffer + intersects?
|
||||||
CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByPointAndRadius(
|
CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByPointAndRadius(
|
||||||
geom geometry(Geometry, 4326), -- point
|
geom geometry(Point, 4326), -- point
|
||||||
radius numeric, -- radius in meters
|
radius numeric, -- radius in meters
|
||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
@ -485,7 +485,7 @@ $$ LANGUAGE plpgsql;
|
|||||||
--
|
--
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByPointAndRadius(
|
CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByPointAndRadius(
|
||||||
geom geometry(Geometry, 4326), -- point
|
geom geometry(Point, 4326), -- point
|
||||||
radius numeric, -- radius in meters
|
radius numeric, -- radius in meters
|
||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user