On Fri, 2009-09-11 at 15:51 -0400, James McManus wrote:
> Jon,
>
> I tried your first two suggestions, and the results were correct.
>
> The problem appears to be that 0 digits are being dropped from
> avg_r_tax_val_0906. I added the following style:
>
> <Style name="ctavgrtaxval0906_label">
> <Rule>
> <Filter>[avg_r_tax_val_0906] <= 100000</Filter>
> <TextSymbolizer name="avg_r_tax_val_0906" face_name="DejaVu Sans
> Bold" size="7" fill="black" halo_fill= "#DFDBE3" halo_radius="1"
> wrap_width="20" spacing="5" allow_overlap="false" avoid_edges="false"
> min_distance="10"/>
> </Rule>
> </Style>
>
> to my map file, so that values would be displayed for tracts with
> avg_r_tax_val_0906 below 100000. I've attached the map that was
> rendered, adding an arrow pointing to an incorrect value. The value
> displayed is 17761.66, but it should be 170761.66. The 0 before the
> disimal has been dropped. It appears this is the case for other
> incorrect values. Weird!
>
Losing digits in the middle of a number is indeed very weird. Are you
sure the field is stored correctly in the DB?
Jon
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users