<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>Hi all,</tt><tt></tt>
<p><tt>How can I do a dynamic statement in a CLASS-object</tt>
<br><tt>in the map-file?</tt>
<br><tt>There seem to be only static values possible in use</tt>
<br><tt>with EXPRESSION like this one:</tt><tt></tt>
<p><tt>LAYER</tt>
<br><tt>&nbsp; NAME cities # the CGI-relation</tt>
<br><tt>&nbsp;</tt>
<br><tt>&nbsp; ...</tt><tt></tt>
<p><tt>&nbsp; CLASSITEM&nbsp; 'population' #something like this</tt><tt></tt>
<p><tt>&nbsp; CLASS</tt>
<br><tt>&nbsp;&nbsp; EXPRESSION ([POPULATION] > 10000)</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; ....</tt>
<br><tt>&nbsp;&nbsp; COLOR #e.g. red</tt>
<br><tt>&nbsp; END</tt><tt></tt>
<p><tt>&nbsp; CLASS</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION ([POPULATION > 50000)</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; ...</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; COLOR # e.g. dark red</tt>
<br><tt>&nbsp; END</tt>
<br><tt>END</tt><tt></tt>
<p><tt>I wanted to use dynamic (CGI-input) values</tt>
<br><tt>instead of fixed values. How can I do it</tt>
<br><tt>here or is this just the wrong way to solve</tt>
<br><tt>a problem of dynamic input? Any help is</tt>
<br><tt>welcome and appreciated.</tt><tt></tt>
<p><tt>Ricardo Martins</tt>
<br><tt>PROCERGS</tt>
<br><tt>BRAZIL</tt></html>