Try the following:

CLASS
    NAME "calss1"
    STYLE # first style
        SYMBOL "cartoline_square"
        SIZE [sizeobj2]
        COLOR    0 0 0 #black
    END
    STYLE # second style
        SYMBOL "cartoline_square"
        SIZE [sizeobj1]
        COLOR    255 255 255 #white
    END
END

Cheers

Paul

On 27-Jun-08, at 6:32 AM, Federica De Martin wrote:

Hi everybody,
I'm trying to use the SIZEITEM to render a line LAYER. My problem is that when I use the SIZEITEM mapserver follows it only for the first style; this is my class:

    CLASS
        NAME "calss1"
        STYLE # first style
            SYMBOL "cartoline_square"
            SIZEITEM "sizeobj2"
            COLOR    0 0 0 #black
        END
        STYLE # second style
            SYMBOL "cartoline_square"
            SIZEITEM "sizeobj1"
            COLOR    255 255 255 #white
        END
    END

The values are: sizeobj2=sizeobj1+2; What I get is that the black lines are of different sizes and the white lines (over the first) always keep the same size (the smaller). The symbol "cartoline_square" is a symbol of type cartoline, but I also tried with other symbols and I get the same result.
Is there any bug or have I made something wrong in my class?

I wait for some help, Thanks.
Bye, Federca.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


__________________________________________

   Paul Spencer
   Chief Technology Officer
   DM Solutions Group Inc
   http://www.dmsolutions.ca/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to