<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi List,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This works php-mapscript 4.2.5 :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$layer =
$this->map->getLayerByName('layer_x');<BR>$clase =
$layer->getclass(0);<BR>$style =
$clase->getStyle(0);<BR>$style->set(size,20);<BR>$style->color->setRGB(255,0,0);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The symbol size 20 works fine in php-mapscript
4.2.5.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.vianauta.com/test/error/image_ms-4.2.5.png">http://www.vianauta.com/test/error/image_ms-4.2.5.png</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But php-mapscript 4.4.1 the symbol syze is not
correct, is very small.</DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.vianauta.com/test/error/image_ms-4.4.1.png">http://www.vianauta.com/test/error/image_ms-4.4.1.png</A></FONT><BR></DIV></DIV></FONT>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>Object class
produced ms-4.2.5:</FONT></FONT></FONT></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>ms_class_obj Object
( [_handle_] => Resource id #158 [_layer_handle_] => Resource id #156
[_map_handle_] => Resource id #63 [name] => cliente [title] => [type]
=> 0 [status] => 1 [template] => [numstyles] => 1 [label] =>
ms_label_obj Object ( [_handle_] => Resource id #159 [font] => [type]
=> 1 [shadowsizex] => 1 [shadowsizey] => 1 [backgroundshadowsizex]
=> 1 [backgroundshadowsizey] => 1 [size] => 2 [minsize] => 4
[maxsize] => 256 [position] => 9 [offsetx] => 0 [offsety] => 0
[angle] => 0 [autoangle] => 0 [buffer] => 0 [antialias] => -1 [wrap]
=> 0 [minfeaturesize] => -1 [autominfeaturesize] => 0 [mindistance]
=> -1 [partials] => 1 [force] => 0 [color] => ms_color_obj Object (
[_handle_] => Resource id #160 [red] => 127 [green] => 0 [blue] => 0
) [outlinecolor] => ms_color_obj Object ( [_handle_] => Resource id #161
[red] => 255 [green] => 255 [blue] => 255 ) [shadowcolor] =>
ms_color_obj Object ( [_handle_] => Resource id #162 [red] => -1 [green]
=> -1 [blue] => -1 ) [backgroundcolor] => ms_color_obj Object (
[_handle_] => Resource id #163 [red] => -1 [green] => -1 [blue] =>
-1 ) [backgroundshadowcolor] => ms_color_obj Object ( [_handle_] =>
Resource id #164 [red] => -1 [green] => -1 [blue] => -1 ) ) [minscale]
=> -1 [maxscale] => -1 ) </FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>Object class
produced ms-4.4.1:</FONT></FONT></FONT></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>ms_class_obj Object
( [_handle_] => Resource id #158 [_layer_handle_] => Resource id #156
[_map_handle_] => Resource id #63 [name] => cliente [title] => [type]
=> 0 [status] => 1 [template] => [numstyles] => 1 [label] =>
ms_label_obj Object ( [_handle_] => Resource id #159 [font] => [encoding]
=> [type] => 1 [shadowsizex] => 1 [shadowsizey] => 1
[backgroundshadowsizex] => 1 [backgroundshadowsizey] => 1 [size] => 2
[minsize] => 4 [maxsize] => 256 [position] => 9 [offsetx] => 0
[offsety] => 0 [angle] => 0 [autoangle] => 0 [buffer] => 0
[antialias] => -1 [wrap] => 0 [minfeaturesize] => -1
[autominfeaturesize] => 0 [mindistance] => -1 [partials] => 1 [force]
=> 0 [color] => ms_color_obj Object ( [_handle_] => Resource id #160
[red] => 127 [green] => 0 [blue] => 0 ) [outlinecolor] =>
ms_color_obj Object ( [_handle_] => Resource id #161 [red] => 255 [green]
=> 255 [blue] => 255 ) [shadowcolor] => ms_color_obj Object (
[_handle_] => Resource id #162 [red] => -1 [green] => -1 [blue] =>
-1 ) [backgroundcolor] => ms_color_obj Object ( [_handle_] => Resource id
#163 [red] => -1 [green] => -1 [blue] => -1 ) [backgroundshadowcolor]
=> ms_color_obj Object ( [_handle_] => Resource id #164 [red] => -1
[green] => -1 [blue] => -1 ) ) [minscale] => -1 [maxscale] => -1 )
<BR></FONT></FONT></FONT></DIV></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>Object style
produced ms-4.2.5:</FONT></FONT></FONT></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>ms_style_obj Object
( [_handle_] => Resource id #165 [_class_handle_] => Resource id #158
[_layer_handle_] => Resource id #156 [_map_handle_] => Resource id #63
[symbol] => 6 [symbolname] => industria [size] => 20 [minsize] => 8
[maxsize] => 20 [offsetx] => 0 [offsety] => 0 [color] =>
ms_color_obj Object ( [_handle_] => Resource id #166 [red] => 255 [green]
=> 0 [blue] => 0 ) [backgroundcolor] => ms_color_obj Object (
[_handle_] => Resource id #167 [red] => -1 [green] => -1 [blue] =>
-1 ) [outlinecolor] => ms_color_obj Object ( [_handle_] => Resource id
#168 [red] => 0 [green] => 0 [blue] => 0 ) )</FONT></FONT></FONT></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>Object style
produced ms-4.4.1:</FONT></FONT></FONT></DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Courier><FONT size=1><FONT face=Arial size=2>ms_style_obj Object
( [_handle_] => Resource id #165 [_class_handle_] => Resource id #158
[_layer_handle_] => Resource id #156 [_map_handle_] => Resource id #63
[symbol] => 6 [symbolname] => industria [size] => 20 [minsize] => 8
[maxsize] => 20 [offsetx] => 0 [offsety] => 0 [color] =>
ms_color_obj Object ( [_handle_] => Resource id #166 [red] => 255 [green]
=> 0 [blue] => 0 ) [backgroundcolor] => ms_color_obj Object (
[_handle_] => Resource id #167 [red] => -1 [green] => -1 [blue] =>
-1 ) [outlinecolor] => ms_color_obj Object ( [_handle_] => Resource id
#168 [red] => 0 [green] => 0 [blue] => 0 ) ) </DIV>
<DIV> </DIV>
<DIV></FONT></FONT></FONT> </DIV></DIV>
<DIV>It's a Bug?...Any suggestions would be much appreciated.</DIV>
<DIV> </DIV>
<DIV>Thank's.</DIV>
<DIV> </DIV>
<DIV>Daniel A. Lagos H.</DIV>
<DIV><A href="mailto:dlagos@fdcconsult.com">dlagos@fdcconsult.com</A></DIV>
<DIV>Santiago,
Chile.</DIV></FONT></FONT></FONT></FONT></DIV></FONT></DIV></BODY></HTML>