mapscript.clusterObj¶
- class mapscript.clusterObj¶
The CLUSTER object. See RFC 69.
Attributes
bufferdouble The buffer size around the selection area - see BUFFER
maxdistancedouble Maximum distance between clusters - see MAXDISTANCE
regionchar The type of the cluster region (rectangle or ellipse) - see REGION
thisownThe membership flag
Methods
- __init__()[sorgente]¶
- convertToString() char[sorgente]¶
Output the CLUSTER as a Mapfile string
- getFilterString() char[sorgente]¶
- getGroupString() char[sorgente]¶
Return a string representation of GROUP
- setFilter(filter: char) int[sorgente]¶
Set FILTER string where filter is a MapServer text expression. Returns
MS_SUCCESSorMS_FAILURE
- setGroup(group: char) int[sorgente]¶
Set GROUP string where group is a MapServer text expression. Returns
MS_SUCCESSorMS_FAILURE
- updateFromString(snippet: char) int[sorgente]¶
Update a cluster from a string snippet. Returns
MS_SUCCESSorMS_FAILURE
