leftovers and docs

This commit is contained in:
abelvm
2016-09-21 14:24:35 +02:00
parent 37e4fc7cad
commit 754e66c02c
2 changed files with 6 additions and 3 deletions

View File

@@ -37,6 +37,9 @@ Function to interpolate a numeric attribute of a point in a scatter dataset of p
|-------------|------|-------------|
| value | numeric | Interpolated value at the given point, `-888.888` if the given point is out of the boundaries of the source points set |
Default values:
* -888.888: when using Barycentric, the target point is out of the realm of the input points
* -777.777: asking for a method not available
#### Example Usage

View File

@@ -1,7 +1,7 @@
-- 0: nearest neighbor(s)
-- 1: barymetric
-- 2: IDW
-- 3: krigin
-- 3: krigin ---> TO DO
CREATE OR REPLACE FUNCTION CDB_SpatialInterpolation(
@@ -52,7 +52,7 @@ DECLARE
vc numeric;
output numeric;
BEGIN
output := -999.999;
-- output := -999.999;
-- nearest neighbors
-- p1: limit the number of neighbors, 0-> closest one
@@ -133,7 +133,7 @@ BEGIN
-- krigin
ELSIF method = 3 THEN
-- TO DO
END IF;