NOT labelling certain features

Mike Saunt mikesaunt at GMAIL.COM
Fri Jan 19 03:28:57 EST 2007


Hi All

I've got a layer of roads where the description of various roads starts
"REAR OF" or "ACCESS TO".   I want to be able to label all roads that DON'T
start with these terms as these are insignificant roads to label.  I'm a bit
unsure of the Filter / Expression to achieve this.

Any help appreciated!

    LAYER
        NAME MinorRoads
        TYPE LINE
        STATUS DEFAULT
        CONNECTIONTYPE OGR
        CONNECTION "astun\MINORROADS.TAB"
        MAXSCALE 60000
        MINSCALE 10000
        LABELMAXSCALE 50000
        LABELITEM "DESCRIPTION"
        TRANSPARENCY ALPHA    # so anti aliasing lines works
        CLASSITEM "DESCRIPTION"
        CLASS
            NAME "Streets"
            STYLE
                COLOR 192 192 192
                SYMBOL 'continue'
                SIZE 5
                ANTIALIAS TRUE
            END
            STYLE
                COLOR 255 255 255
                SYMBOL 'continue'
                SIZE 3
                ANTIALIAS TRUE
            END
            LABEL
                FONT "arial"
                TYPE TRUETYPE
                ANTIALIAS TRUE
                COLOR 40 40 40
                OUTLINECOLOR 255 255 255
                SIZE 7
                POSITION AUTO
                PARTIALS FALSE
                BUFFER 4
                ANGLE AUTO
            END
        END
    END

Cheers
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070119/adb0bede/attachment.html


More information about the mapserver-users mailing list