CLASS/STYLE

Bob Basques Bob.Basques at CI.STPAUL.MN.US
Mon Jan 7 18:23:49 EST 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 --------------
Skipped content of type multipart/related


More information about the mapserver-users mailing list