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 [المصدر]¶
Set FILTER string where filter is a MapServer text expression. Returns
MS_SUCCESS
orMS_FAILURE
- setGroup(group: char) int [المصدر]¶
Set GROUP string where group is a MapServer text expression. Returns
MS_SUCCESS
orMS_FAILURE
- updateFromString(snippet: char) int [المصدر]¶
Update a cluster from a string snippet. Returns
MS_SUCCESS
orMS_FAILURE