Looks like you need to set the following default parameters to prevent from
writing to the mapfile:

      cluster->maxdistance == 10 &&
      cluster->buffer == 0.0 &&
      cluster->region == NULL &&
      cluster->group.string == NULL &&
      cluster->filter.string == NULL

Best regards,

Tamas



2016-02-02 13:48 GMT+01:00 Moretti Edmar <[email protected]>:

> How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?
> I try to use the code below, but without success
>
> $cluster = $layer->cluster;
> $cluster->updateFromString("GROUP END");
>
> --
> Para tirar dúvidas sobre o i3Geo utilize a lista:
> https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
>
> Edmar Moretti
> http://www.edmarmoretti.com.br
> Skype: edmar.moretti
> gTalk: edmar.moretti
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to