expressions with negative values

Marco Vieira marco.vieira at telet.com.br
Wed Apr 11 06:07:48 PDT 2001


Hi All,
	I need to create a point layer with negative values classified by
expressions.
	example: A Class =  -72 < [Field] < -62.
	Does anyone can demonstrate how I do it?
	My map file show like this: (some bugs?)
LAYER
  NAME poa_qep
  TYPE Point
  STATUS on
  DATA poa_qep
  CLASSITEM Rssi 
      CLASS
        Name 'Poa_qep'
        EXPRESSION ([RSSI] < -92) ###This running good
        SYMBOL 'circle'
        SIZE 6
        COLOR 207 0 224
        OUTLINECOLOR 207 0 224
     END  # CLASS
  CLASSITEM Rssi 
      CLASS
        Name 'Poa_qep'
        EXPRESSION /^[-92 - -82]/  ###This are wrong???
        SYMBOL 'circle'
        SIZE 6
        COLOR 77 0 229
        OUTLINECOLOR 77 0 229
     END  # CLASS
  CLASSITEM Rssi
      CLASS
        Name 'Poa_qep'
        EXPRESSION /^[-82 - -72]/
        SYMBOL 'circle'
        SIZE 6
        COLOR 254 179 0
        OUTLINECOLOR 254 179 0
     END  # CLASS
END  # LAYER

Thanks.

Marco.
	





More information about the MapServer-users mailing list