mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
add CDB_dependencies
This commit is contained in:
parent
6b4b04d9a3
commit
2c373dd9c7
@ -61,7 +61,7 @@ BEGIN
|
||||
test_h := ST_XMax(cell) - ST_XMin(cell) ;
|
||||
|
||||
-- check distance
|
||||
test_d := _Signed_Dist(polygon, ST_Centroid(cell));
|
||||
test_d := cdb_crankshaft._Signed_Dist(polygon, ST_Centroid(cell));
|
||||
IF test_d > best_d THEN
|
||||
best_d := test_d;
|
||||
best_c := cells[i];
|
||||
|
Loading…
Reference in New Issue
Block a user