Hi everyone!

I want to label roads but unfortunatly there are some roads names 'unnamed'
which I don't want of course. How can I add this easily into my css code?

It looks like this so fare:

*{
    font-family:'Tahoma';
    font-style: normal;
    font-weight: normal;
    label-anchor: 0.0, 0.5;
    label-rotation:0;
    halo-radius:1;
    halo-color:#FFFFFF;
    -gt-label-follow-line:true;
    -gt-label-max-angle-delta:90;
    -gt-label-max-displacement:400;
    -gt-label-group:true;
}

/*2WD*/
[@scale<25000][CLASS_CODE='6']{
    label:[EZI_ROAD_NAME_LABEL];
    font-size: 12;
    font-fill:#E42217;
}

/*4WD*/
[@scale<12000][CLASS_CODE='7']{
    label:[EZI_ROAD_NAME_LABEL];
    font-size: 12;
    font-fill:#E42217;
}

thanks!
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to