<div dir="ltr">Looks like you need to set the following default parameters to prevent from writing to the mapfile:<div><br></div><div><div>      cluster->maxdistance == 10 &&</div><div>      cluster->buffer == 0.0 &&</div><div>      cluster->region == NULL &&</div><div>      cluster->group.string == NULL &&</div><div>      cluster->filter.string == NULL</div></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-02 13:48 GMT+01:00 Moretti Edmar <span dir="ltr"><<a href="mailto:edmar.moretti@gmail.com" target="_blank">edmar.moretti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?</div><div>I try to use the code below, but without success</div></div><div><br></div><div>$cluster = $layer->cluster;</div><div>$cluster->updateFromString("GROUP END");</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div><div>Para tirar dúvidas sobre o i3Geo utilize a lista: <a href="https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" target="_blank">https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a></div><div><br></div><div>Edmar Moretti<br></div><a href="http://www.edmarmoretti.com.br" target="_blank">http://www.edmarmoretti.com.br</a><br></div>Skype: edmar.moretti<br></div>gTalk: edmar.moretti<br></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br></div>