back to the original signature

This commit is contained in:
abelvm 2016-09-02 14:57:21 +02:00
parent 139e86d414
commit a530de80f1
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,7 @@ Function to generate a contour map from an scatter dataset of points, using one
| method | integer | 0:nearest neighbor, 1: barycentric, 2: IDW|
| classmethod | integer | 0:equals, 1: heads&tails, 2:jenks, 3:quantiles |
| steps | integer | Number of steps in the classification|
| resolution | integer | if <= 0: max processing time in seconds (smart resolution) , if >0: resolution in meters
| max_time | integer | if <= 0: max processing time in seconds (smart resolution) , if >0: resolution in meters
### Returns
Returns a table object

View File

@ -21,6 +21,9 @@ DECLARE
BEGIN
-- nasty trick to override issue #121
IF max_time = 0 THEN
max_time = -90;
END IF;
resolution := max_time;
max_time := -1 * resolution;