Hello Andrea,

I'm here again. I was using only one rule to the TextSymbolizer and it was 
runing OK but I want to simulate a zoom for the text. I was trying to use a 
diferents rules to the same datafield acording to the zoom level for example:

        <sld:Rule>

            <sld:MinScaleDenominator>

                80000

            </sld:MinScaleDenominator>

            <sld:MaxScaleDenominator>

                520000000

            </sld:MaxScaleDenominator>

            <sld:TextSymbolizer>

                <sld:Label>

                    <ogc:PropertyName>nmvia</ogc:PropertyName>

                </sld:Label>

                <sld:Font>

                    <sld:CssParameter name="font-size">

                        <ogc:Literal>10.0</ogc:Literal>

                    </sld:CssParameter>

                </sld:Font>       

            </sld:TextSymbolizer>

        </sld:Rule>
        <sld:Rule>
            <sld:MinScaleDenominator>
                5200000001
            </sld:MinScaleDenominator>
            <sld:MaxScaleDenominator>
                52000000000
            </sld:MaxScaleDenominator>
            <sld:TextSymbolizer>
                <sld:Label>
                    <ogc:PropertyName>nmvia</ogc:PropertyName>
                </sld:Label>
                <sld:Font>
                    <sld:CssParameter name="font-size">
                        <ogc:Literal>18.0</ogc:Literal>
                    </sld:CssParameter>
                </sld:Font>       
            </sld:TextSymbolizer>
        </sld:Rule>

The computer begins to read the hard disk and don't stop. I want to restart the 
computer. 
I want to know how the TextSymbolizer is drawing?
Here we are thinking in create a class to draw the text in a vector way like a 
polygon then we can apply the zoom.
What do you think???


Thank you again

Fernando




       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to