pggeodb.nancy.inra.fr/db_robot - db_robot on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: st_clusterkmeans

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geom, number_of_clusters - Windowing function that returns integer id for the cluster each input geometry is in.

 

Options

Option

Value

Returns

integer

Language

c

Parameters

geom public.geometry

k integer

 

Definition

CREATE OR REPLACE FUNCTION public.st_clusterkmeans (
 geom public.geometry,
 k integer
)
RETURNS integer AS
'$libdir/postgis-2.3', 'ST_ClusterKMeans'
LANGUAGE 'c'
VOLATILE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
WINDOW
COST
1;

COMMENT ON FUNCTION public.st_clusterkmeans(geom public.geometry, k integer)
IS 'args: geom, number_of_clusters - Windowing function that returns integer id for the cluster each input geometry is in.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic