<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi all<br>I'm gonna use dBox, start using dbox0.9a1 example which is based on python2.4, although mapscript is built with python2.5 in latest version of MS4W. for legend, i just see one node at top with no layer(dBox uses yahoo treeview). <br>this is error i get from firebug:<br><br>Traceback (most recent call last):<br> File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml_cgi.py", line 36, in <module><br> make_dlegend_xml.write_xml(mapfile, server)<br> File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 278, in write_xml<br> (minscale, maxscale) = get_group_minscale_and_maxscale(mapp, layer_indexes)<br> File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 204, in get_group_minscale_and_maxscale<br> if
layer.minscale == -1:<br> File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 1006, in <lambda><br> __getattr__ = lambda self, name: _swig_getattr(self, layerObj, name)<br> File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 34, in _swig_getattr<br> raise AttributeError,name<br>AttributeError: minscale<br><br>anyone has idea about this?<br>Isn't is because minscale (& maxscale) is deprecated (replaced with minsclaedenom)?<br><br></div></div><br>
</body></html>