[Cartoweb-users] Change the default value for the Interval

Oliver Christen oliver.christen at camptocamp.com
Wed Jul 2 03:41:31 EDT 2008


Hi

there is no config parameter for that value, but you can easily modify the 
template to set a default value:

in file geostat_choropleth_dataset.tpl
replace
{$geostatChoroplethNbBins}
by
{if $geostatChoroplethNbBins}{$geostatChoroplethNbBins}{else}20{/if}
(for example)

regards
Oliver

> Hello, I would like to change the default value ( 9 ) for the field 
> "Number of Classes" in the GeoStatistics plugin, i look at the source 
> code, and found the "$geostatChoroplethNbBins" var in the 
> Geostat_choropleth_dataset.tpl template, this value is taken from 
> ClientGeostat.php with
> "$this->geostatClientState->choroplethParams->nbBins"...
>
> Maybe i need to do something in Distribution.php... ?... i apprecciate 
> your help, thanks.
>
> Marcelo
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list