Adding geometry types to function signature
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
--
|
--
|
||||||
-- Returns: Multipoint with the requested points
|
-- Returns: Multipoint with the requested points
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION CDB_DotDensity(g geometry, no_points integer, max_iter integer DEFAULT 1000)
|
CREATE OR REPLACE FUNCTION CDB_DotDensity(g geometry(Polygon, 4326), no_points integer, max_iter integer DEFAULT 1000)
|
||||||
RETURNS SETOF geometry
|
RETURNS SETOF geometry(Point, 4326)
|
||||||
AS $$
|
AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
extent GEOMETRY;
|
extent GEOMETRY;
|
||||||
|
|||||||
Reference in New Issue
Block a user