A bit of internal documentation

This commit is contained in:
Rafa de la Torre 2015-12-21 13:16:57 +01:00
parent 415a09392f
commit e60f73a31b

View File

@ -1,3 +1,9 @@
-- Determine the max feature density of a given dataset.
-- Scope: private.
-- Parameters
-- reloid: oid of the input table. It must be a cartodbfy'ed table.
-- nz: number of zoom levels to consider from z0 upward.
-- Return value: feature density (num_features / webmercator_squared_meters).
CREATE OR REPLACE FUNCTION _CDB_Feature_Density(reloid REGCLASS, nz integer)
RETURNS FLOAT8
AS $$