[Cartoweb-users] Re: Symbol size and color

Oliver Christen oliver.christen at camptocamp.com
Mon Jun 2 04:53:59 EDT 2008


Hi Ben

maybe something like this :

    CLASS 
        EXPRESSION ([the_name_of_the_elevation_field_of_your_layer_source] >= 50 and [the_name_of_the_elevation_field_of_your_layer_source] <55 and [the_name_of_the_size_field_of_your_layer_source] = 1000)        
        SIZE 50
        NAME "blabla:50-55"
        COLOR 255 255 102
    END

see http://mapserver.gis.umn.edu/docs/reference/mapfile/class and http://mapserver.gis.umn.edu/docs/howto/msexpressions for more details about expressions

regards
Oliver
  ----- Original Message ----- 
  From: bmw at benwyss.com 
  To: Oliver Christen 
  Cc: cartoweb-users at lists.maptools.org 
  Sent: Friday, May 30, 2008 9:24 PM
  Subject: Symbol size and color



  Hello Oliver, 
  <!--[if !supportLineBreakNewLine]-->
  <!--[endif]--> 

  I would like to have a point displayed on my map. I would like the point size to represent the population of a settlement, and I would like the point color to represent the elevation of the settlement. How can I structure my map file (layer classes) to do this?

  Thanks, Ben


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080602/ac4229c9/attachment.html


More information about the Cartoweb-users mailing list