dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01970
Re: [Bug 426194] [NEW] DHIS2 mapping module does not respect decimal values in class breaks
On Tue, Sep 8, 2009 at 5:15 PM, jason.p.pickering <
jason.p.pickering@xxxxxxxxx> wrote:
> Public bug reported:
>
> I tried to define class breaks manually in the mapping module, but it seems
> to only respect integer values.
> My class breaks were defined as follows..
>
> 0.0,0.5,1.0,4.0,10.0,56.3
>
> Class breaks in the module appear as follows
>
> 0.0 - 0.0 ( 0 )
> 0.0 - 0.0 ( 0 )
> 0.0 - 1.0 ( 33 )
> 1.0 - 4.0 ( 14 )
> 4.0 - 10.0 ( 19 )
> 10.0 - 56.0 ( 5 )
> 56.0 - 56.3 ( 1 )
>
> Also, some 0 values are reported as 0 while others are reported as 0.0. I
> suspect the 0 values are nulls, which the 0.0 values are true zeros.
> Ideally, I would
> 1) like to define a class break for any NULL values
> 2) define a class break for true 0 values (0.0)
> 3) define other class breaks with decimal values and not have them
> truncated to integers.
>
This should definitely be sorted out. Defining decimal class breaks will not
be a problem. I'm not sure if Mapfish will accept a class break for null
values, but I will have a look at it.
>
> ** Affects: dhis2
> Importance: Undecided
> Status: New
>
> --
> DHIS2 mapping module does not respect decimal values in class breaks
> https://bugs.launchpad.net/bugs/426194
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
>
> Status in DHIS 2: New
>
> Bug description:
> I tried to define class breaks manually in the mapping module, but it seems
> to only respect integer values.
> My class breaks were defined as follows..
>
> 0.0,0.5,1.0,4.0,10.0,56.3
>
> Class breaks in the module appear as follows
>
> 0.0 - 0.0 ( 0 )
> 0.0 - 0.0 ( 0 )
> 0.0 - 1.0 ( 33 )
> 1.0 - 4.0 ( 14 )
> 4.0 - 10.0 ( 19 )
> 10.0 - 56.0 ( 5 )
> 56.0 - 56.3 ( 1 )
>
> Also, some 0 values are reported as 0 while others are reported as 0.0. I
> suspect the 0 values are nulls, which the 0.0 values are true zeros.
> Ideally, I would
> 1) like to define a class break for any NULL values
> 2) define a class break for true 0 values (0.0)
> 3) define other class breaks with decimal values and not have them
> truncated to integers.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help : https://help.launchpad.net/ListHelp
>
References