[Cartoweb-users] areaPrecision
Oliver Christen
oliver.christen at camptocamp.com
Mon Sep 4 03:43:12 EDT 2006
errr, its seems that parameter is totally outdated, in fact its not used
anymore, some remnent of an old projects.
the area is calculated in BasicTypes.php line 400 or so, in the getArea()
function.
if you only have one project (or want the same behaviour for all your
project), you acn simply add a round( ) or something like that ot the value
before it is returned.
otherwise you will have to extend ServerOutline.php and add the round in the
function handleDrawing, where the $area value is received and before $result
is returned.
Regards
Oliver
> Hi guys,
> I need to reduce the current precision of area in outline. I've modified
> the
> areaPrecision parameter in outline.ini (server conf) but I didn't get the
> aim.
> What's wrong ?
>
> Thanks in advance and best regards.
>
> Giu
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Le speciali Offerte di Benvenuto di Cassine di Pietra:
> scopra il gusto ed i vantaggi delle tradizioni contadine
>
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3924&d=20060901
>
>
> _______________________________________________
> 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