mapscript.clusterObj

class mapscript.clusterObj

The CLUSTER object. See RFC 69.

Attributes

buffer

double The buffer size around the selection area - see BUFFER

maxdistance

double Maximum distance between clusters - see MAXDISTANCE

region

char The type of the cluster region (rectangle or ellipse) - see REGION

thisown

The membership flag

Methods

__init__()[fuente]
convertToString() char[fuente]

Output the CLUSTER as a Mapfile string

getFilterString() char[fuente]
getGroupString() char[fuente]

Return a string representation of GROUP

setFilter(filter: char) int[fuente]

Set FILTER string where filter is a MapServer text expression. Returns MS_SUCCESS or MS_FAILURE

setGroup(group: char) int[fuente]

Set GROUP string where group is a MapServer text expression. Returns MS_SUCCESS or MS_FAILURE

updateFromString(snippet: char) int[fuente]

Update a cluster from a string snippet. Returns MS_SUCCESS or MS_FAILURE