rundel / carto-generator

C++ Parser for the Carto stylesheet language
15 stars 1 forks source link

rgb colors not converted correctly #9

Open springmeyer opened 13 years ago

springmeyer commented 13 years ago

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);
        }
    }
}
rundel commented 13 years ago

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

springmeyer commented 13 years ago

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

rundel commented 13 years ago

Working with trunk currently

springmeyer commented 13 years ago

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...)

rundel commented 13 years ago

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

springmeyer commented 13 years ago

mac