dynamic query

Ricardo Wagner Martins ricmar at pro.via-rs.com.br
Wed Oct 4 12:43:59 EDT 2000


Hi all,

How can I do a dynamic statement in a CLASS-object
in the map-file?
There seem to be only static values possible in use
with EXPRESSION like this one:

LAYER
  NAME cities # the CGI-relation

  ...

  CLASSITEM  'population' #something like this

  CLASS
   EXPRESSION ([POPULATION] > 10000)
     ....
   COLOR #e.g. red
  END

  CLASS
     EXPRESSION ([POPULATION > 50000)
     ...
     COLOR # e.g. dark red
  END
END

I wanted to use dynamic (CGI-input) values
instead of fixed values. How can I do it
here or is this just the wrong way to solve
a problem of dynamic input? Any help is
welcome and appreciated.

Ricardo Martins
PROCERGS
BRAZIL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20001004/7da18fc7/attachment.html


More information about the mapserver-users mailing list