CLASS/STYLE

Bob Basques Bob.Basques at CI.STPAUL.MN.US
Mon Jan 7 15:23:49 PST 2008


All,

Can this be done in a simpler way:

    CLASS
      EXPRESSION 'A40' # Local, Rural Road
      #NAME 'Local Roads'
      STYLE
        SYMBOL 'circle'
        SIZE 10
        COLOR 254 254 254
      END
      MAXSCALE 10000
    END
    CLASS
      EXPRESSION 'A40' # Local, Rural Road
      #NAME 'Local Roads'
      STYLE
        SYMBOL 'circle'
        SIZE 3
        COLOR 254 254 254
      END
      MINSCALE 10001
    END

The above works, but I was wondering about something like the below, which I tried, or something similar would work to simplfy?:

    CLASS
      EXPRESSION 'A40' # Local, Rural Road
      #NAME 'Local Roads'
      STYLE
        SYMBOL 'circle'
        COLOR 254 254 254
        CLASS
          STYLE
            SIZE 10
          END
          MAXSCALE 10000
        END
        CLASS
          STYLE
            SIZE 3
          END
          MINSCALE 10001
        END            
      END
    END
    
Although now that I look at it, it doesn't look that much simpler.  

Thanks

bobb





GISmo 

Powered by
GeoMOOSE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080107/6bc3bd73/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 11946 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080107/6bc3bd73/attachment.gif>


More information about the MapServer-users mailing list