change return name of boundaries to the_geom
This commit is contained in:
parent
5168023091
commit
7556e43b22
@ -250,7 +250,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByBBox(
|
|||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
overlap_type text DEFAULT 'intersects')
|
overlap_type text DEFAULT 'intersects')
|
||||||
RETURNS TABLE(boundary geometry, geom_refs text)
|
RETURNS TABLE(the_geom geometry, geom_refs text)
|
||||||
AS $$
|
AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
boundary geometry(Geometry, 4326);
|
boundary geometry(Geometry, 4326);
|
||||||
@ -328,7 +328,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetBoundariesByPointAndRadius(
|
|||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
overlap_type text DEFAULT 'intersects')
|
overlap_type text DEFAULT 'intersects')
|
||||||
RETURNS TABLE(boundary geometry, geom_refs text)
|
RETURNS TABLE(the_geom geometry, geom_refs text)
|
||||||
AS $$
|
AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
circle_boundary geometry(Geometry, 4326);
|
circle_boundary geometry(Geometry, 4326);
|
||||||
@ -371,7 +371,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByBBox(
|
|||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
overlap_type text DEFAULT 'intersects')
|
overlap_type text DEFAULT 'intersects')
|
||||||
RETURNS TABLE(boundary geometry, geom_refs text)
|
RETURNS TABLE(the_geom geometry, geom_refs text)
|
||||||
AS $$
|
AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
boundary geometry(Geometry, 4326);
|
boundary geometry(Geometry, 4326);
|
||||||
@ -442,7 +442,7 @@ CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetPointsByPointAndRadius(
|
|||||||
boundary_id text,
|
boundary_id text,
|
||||||
time_span text DEFAULT NULL,
|
time_span text DEFAULT NULL,
|
||||||
overlap_type text DEFAULT 'intersects')
|
overlap_type text DEFAULT 'intersects')
|
||||||
RETURNS TABLE(boundary geometry, geom_refs text)
|
RETURNS TABLE(the_geom geometry, geom_refs text)
|
||||||
AS $$
|
AS $$
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user