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__()[Quellcode]
convertToString() char[Quellcode]

Output the CLUSTER as a Mapfile string

getFilterString() char[Quellcode]
getGroupString() char[Quellcode]

Return a string representation of GROUP

setFilter(filter: char) int[Quellcode]

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

setGroup(group: char) int[Quellcode]

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

updateFromString(snippet: char) int[Quellcode]

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