[mapserver-commits] r12564 - in trunk/mapserver/xmlmapfile: . tests

svn at osgeo.org svn at osgeo.org
Tue Sep 20 14:04:52 EDT 2011


Author: aboudreault
Date: 2011-09-20 11:04:52 -0700 (Tue, 20 Sep 2011)
New Revision: 12564

Modified:
   trunk/mapserver/xmlmapfile/mapfile.xsd
   trunk/mapserver/xmlmapfile/tests/layerset.xml
Log:
cluster:buffer is a valid option

Modified: trunk/mapserver/xmlmapfile/mapfile.xsd
===================================================================
--- trunk/mapserver/xmlmapfile/mapfile.xsd	2011-09-20 15:47:05 UTC (rev 12563)
+++ trunk/mapserver/xmlmapfile/mapfile.xsd	2011-09-20 18:04:52 UTC (rev 12564)
@@ -579,6 +579,7 @@
         <!-- CLUSTER Definition -->
 	<xs:complexType name="Cluster">
 		<xs:sequence>
+			<xs:element name="buffer" type="xs:float" minOccurs="0"/>
 			<xs:element name="filter" type="ms:expressionType" minOccurs="0"/>
 			<xs:element name="group" type="ms:expressionType" minOccurs="0"/>
 			<xs:element name="maxdistance" type="xs:positiveInteger" minOccurs="0"/>

Modified: trunk/mapserver/xmlmapfile/tests/layerset.xml
===================================================================
--- trunk/mapserver/xmlmapfile/tests/layerset.xml	2011-09-20 15:47:05 UTC (rev 12563)
+++ trunk/mapserver/xmlmapfile/tests/layerset.xml	2011-09-20 18:04:52 UTC (rev 12564)
@@ -69,6 +69,7 @@
     <classGroup>group1</classGroup>
     <classItem>population</classItem>
     <Cluster>
+      <buffer>3.3</buffer>
       <filter type="MSEXPR">(type=’road’ and size &lt; 2)</filter>
       <group type="REGEX">/ddea/i</group>
       <maxdistance>20</maxdistance>



More information about the mapserver-commits mailing list