[mapserver-commits] r11564 - trunk/docs/en/output

svn at osgeo.org svn at osgeo.org
Wed Apr 13 13:55:20 EDT 2011


Author: assefa
Date: 2011-04-13 10:55:20 -0700 (Wed, 13 Apr 2011)
New Revision: 11564

Modified:
   trunk/docs/en/output/kml_output.txt
Log:
update docs related to maxfeatures #3739

Modified: trunk/docs/en/output/kml_output.txt
===================================================================
--- trunk/docs/en/output/kml_output.txt	2011-04-13 17:42:42 UTC (rev 11563)
+++ trunk/docs/en/output/kml_output.txt	2011-04-13 17:55:20 UTC (rev 11564)
@@ -47,6 +47,7 @@
     IMAGEMODE RGB
     EXTENSION "kml"    
     FORMATOPTION 'ATTACHMENT=gmap75.kml'  #name of kml file returned
+    FORMATOPTION "maxfeaturestodraw=100"
   END
 
   OUTPUTFORMAT
@@ -67,7 +68,14 @@
 - AGG driver is necessary for the kml driver
 - To be able to get kmz support, MapServer needs to be build aginst GDAL 1.8
 
+Limiting the number of features
+-------------------------------------------------------------------------------
+The number of vector features drawn by default is set to 1000 per layer. To control the number of features, users can set:
 
+- layer level metadata that only applies to the layer: "maxfeaturestodraw" "100"
+- map level metada that applies to all layers: "maxfeaturestodraw" "100"
+- output format option that applies to all layers:  FORMATOPTION "maxfeaturestodraw=100"
+
 Map
 -------------------------------------------------------------------------------
 



More information about the mapserver-commits mailing list