rundel / carto-generator

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

style element duplicated unnecessarily? #19

Open gubuntu opened 10 years ago

gubuntu commented 10 years ago

XML:

    <Style name="raster" >
           <Rule>
                   <RasterSymbolizer scaling="bilinear">
                   </RasterSymbolizer>
           </Rule>
     </Style>

Carto (the same style was applied to three layers in the XML):

        #srtm {
            .raster {
                {
                }
            }
        }
        #ace {
            .raster {
                {
                }
            }
        }
        #cleantopo {
            .raster {
                {
                }
            }
        }

It also didn't convert the raster rule.