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
- setFilter(filter: char) int [źródło]¶
Set FILTER string where filter is a MapServer text expression. Returns
MS_SUCCESS
orMS_FAILURE
- setGroup(group: char) int [źródło]¶
Set GROUP string where group is a MapServer text expression. Returns
MS_SUCCESS
orMS_FAILURE
- updateFromString(snippet: char) int [źródło]¶
Update a cluster from a string snippet. Returns
MS_SUCCESS
orMS_FAILURE