mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
back to the original signature
This commit is contained in:
parent
139e86d414
commit
a530de80f1
@ -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|
|
| method | integer | 0:nearest neighbor, 1: barycentric, 2: IDW|
|
||||||
| classmethod | integer | 0:equals, 1: heads&tails, 2:jenks, 3:quantiles |
|
| classmethod | integer | 0:equals, 1: heads&tails, 2:jenks, 3:quantiles |
|
||||||
| steps | integer | Number of steps in the classification|
|
| 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
|
||||||
Returns a table object
|
Returns a table object
|
||||||
|
@ -21,6 +21,9 @@ DECLARE
|
|||||||
BEGIN
|
BEGIN
|
||||||
|
|
||||||
-- nasty trick to override issue #121
|
-- nasty trick to override issue #121
|
||||||
|
IF max_time = 0 THEN
|
||||||
|
max_time = -90;
|
||||||
|
END IF;
|
||||||
resolution := max_time;
|
resolution := max_time;
|
||||||
max_time := -1 * resolution;
|
max_time := -1 * resolution;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user