Merge branch 'develop' into fix-moran-query-ordering-problem
This commit is contained in:
commit
279912c03f
@ -14,9 +14,12 @@ $$
|
|||||||
DECLARE
|
DECLARE
|
||||||
gs geometry[];
|
gs geometry[];
|
||||||
vs numeric[];
|
vs numeric[];
|
||||||
|
output numeric;
|
||||||
BEGIN
|
BEGIN
|
||||||
EXECUTE 'WITH a AS('||query||') SELECT array_agg(the_geom), array_agg(attrib) FROM a' INTO gs, vs;
|
EXECUTE 'WITH a AS('||query||') SELECT array_agg(the_geom), array_agg(attrib) FROM a' INTO gs, vs;
|
||||||
RETURN QUERY SELECT CDB_SpatialInterpolation(gs, vs, point, method, p1,p2) FROM a;
|
SELECT CDB_SpatialInterpolation(gs, vs, point, method, p1,p2) INTO output FROM a;
|
||||||
|
|
||||||
|
RETURN output;
|
||||||
END;
|
END;
|
||||||
$$
|
$$
|
||||||
language plpgsql IMMUTABLE;
|
language plpgsql IMMUTABLE;
|
||||||
|
Loading…
Reference in New Issue
Block a user