James, Thanks for digging into this so thoroughly and thanks to Jon for finding and fixing the bug.
Cheers to you guys! Dane On Sep 9, 2009, at 2:24 PM, James McManus wrote: > Hi - I'm using Mapnik to produce choropleth maps. I find that in > some cases Mapnik produces images that are incorrect, relative to > the actual data values. I've attached an image showing one of these > errors. I've also attached the mapfile used to create it. I added > an arrow, pointing to one of the census tracts that is colored > incorrectly. The data value for this tract is 790145.32, so its > color should be the darkest hue of red. There are other tracts in > the same image, such as the one below it, that have values over > 700000 and correctly have dark red hue. I've produced maps from > other columns in the same postgreSQL table, one with similar large > (F6.2) numbers and one with smaller (F3.2) numbers. The map > produced using the larger numbers have some tracts that are > incorrect, while the census tracts are all correct for the map > produced from smaller numbers . I've checked this many ways and > come out with the same results. This makes me think that Mapnik, > may be having problems with the larger numbers, in the XML file. Is > anybody aware of similar problems? Should I represent the numbers in > the XML file, in a different form? > > Thanks > Jim > <test1.png><test.xml>_______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

