carto-generator icon indicating copy to clipboard operation
carto-generator copied to clipboard

rgb colors not converted correctly

Open springmeyer opened this issue 13 years ago • 6 comments

Colors in map.xml like:

    <Style name="drainage">
        <Rule>
            <Filter>([HYC]=8)</Filter>
            <PolygonSymbolizer fill="rgb(153,204,255)"/>
        </Rule>
    </Style>

Come out in mss for me looking like:

#quebec_hydrography {
    .drainage {
        [HYC=8] {
            polygon-fill: rgb(0, 68157440, 1606400327, 1606400183);
        }
    }
}

springmeyer avatar Aug 05 '11 22:08 springmeyer

Hm, I am getting:


#quebec_hydrography {
    .drainage {
        [([HYC]=8)] {
            polygon-fill: rgb(153, 204, 255);
        }
    }
}

I'm updating my mapnik2 install to see if that affects anything

rundel avatar Aug 05 '11 22:08 rundel

k, are you working against your branch or trunk? Also, I am using boost 1.47 release, compiled statically

springmeyer avatar Aug 05 '11 22:08 springmeyer

Working with trunk currently

rundel avatar Aug 05 '11 22:08 rundel

btw, just so you know I hand edited the '[HYC=8]' from '[([HYC]=8)]', so ignore that part of course (we know that is a separte issue...)

springmeyer avatar Aug 05 '11 22:08 springmeyer

still don't see this issue after updating, is this on a mac or linux box?

rundel avatar Aug 05 '11 23:08 rundel

mac

springmeyer avatar Aug 05 '11 23:08 springmeyer