<div class="gmail_quote"><br>Hi,<div>i have the following problem where i have a mapfile with the following. specified for a layer</div><div><div>      STYLE</div><div>        COLORRANGE 0 0 0  255 255 0 # black to yellow</div>
<div>  <span style="white-space:pre-wrap">        </span>DATARANGE 0.0 2000000.0</div>
<div>  <span style="white-space:pre-wrap">        </span>RANGEITEM &quot;POP2005&quot;</div><div>      END</div>So the above loads a nice map. But i would like the colorrange,datarange and rangeitem to be dynamic. Is there a way to change their values during runtime?</div>

<div>I have looked at the documentation on variable substitution and tried what there but the mayer fails to load. using </div><div>the url &amp;map.layer[African].class[0].style[0]=COLORRANGE+255+255+0+0+0+0 returns an error. Is it possible to change the colorrange values?</div>
<div>Please help.<br></div></div><br clear="all"><br>-- <br>Regards,<br><br>Jude Mwenda<br>Skype id: jmwenda<br>Twitter: <a href="http://www.twitter.com/judemwenda">www.twitter.com/judemwenda</a><br>Web: <a href="http://www.africangeogeek.com">www.africangeogeek.com</a><br>
    <br>&quot;Was ist mein Leben, wenn ich nicht mehr nützlich für andere.&quot;<br>Johann Wolfgang von Goethe<br>