<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=881062012-27102010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=881062012-27102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=881062012-27102010>All I can say is that with our data the service went 
all to slow for the end users long before jamming.&nbsp; We have been splitting 
the biggest lake polygons into&nbsp;pieces with no more than 45000 vertises 
because that was the limit of reasonable speed in our environment.&nbsp; 
But&nbsp;in that case the limiting factor was the database and "contains" 
queries, not Mapserver.&nbsp; Anyhow, splitting the lakes was good for Mapserver 
too.&nbsp; For some other layers we have made simplified versions for the 
far-away zooms.&nbsp;Simplifying is better for WMS use if polygons are drawn 
with different outline colour but it gives a bit more work with building the 
scale dependent layers.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=881062012-27102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=881062012-27102010>-Jukka Rahkonen-</SPAN></FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>Lähettäjä:</B> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Sebastian E. 
  Ovide<BR><B>Lähetetty:</B> 27. lokakuuta 2010 14:57<BR><B>Vastaanottaja:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] Maximum 
  number of points in a poligon<BR></FONT><BR></DIV>
  <DIV></DIV>Hi All,
  <DIV><BR></DIV>
  <DIV>I have a shape with 2M polygons. The biggest one has 13k points. It works 
  very well, and fast enough.</DIV>
  <DIV><BR></DIV>
  <DIV>I have another shape with 300k polygons and the biggest one has 800k 
  points... This shape hangs MapServer !... and I have to kill the process by 
  hand using kill -9. (see the other thread: process survive after killing 
  apache). The shape files can be opened with ogrinfo though</DIV>
  <DIV><BR></DIV>
  <DIV>Is there a maximum number of points for single polygon supported by 
  MapServer ?</DIV>
  <DIV><BR></DIV>
  <DIV>Thanks<BR>-- <BR>Sebastian E. 
Ovide<BR><BR><BR></DIV></BLOCKQUOTE></BODY></HTML>