Thank you for the answer!<br>I tried to user SIZE [field_name] and SIZE &quot;[field_name]&quot; but in both cases I get [Mapserver Error]: getInteger(). Then I tried also SIZEITEM [field_name] and SIZEITEM &quot;[field_name]&quot; that don&#39;t work and SIZEITEM field_name that makes me get the same result as SIZEITEM &quot;field_name&quot;....<br>
<br>Any other idea or workaround?<br>Federica<br><br><br><div class="gmail_quote">2008/6/27 Paul Spencer &lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Try the following:<div class="Ih2E3d"><br>
<br>
CLASS<br>
 &nbsp; &nbsp;NAME &quot;calss1&quot;<br>
 &nbsp; &nbsp;STYLE # first style<br>
 &nbsp; &nbsp; &nbsp; &nbsp;SYMBOL &quot;cartoline_square&quot;<br></div>
 &nbsp; &nbsp; &nbsp; &nbsp;SIZE [sizeobj2]<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;COLOR &nbsp; &nbsp;0 0 0 #black<br>
 &nbsp; &nbsp;END<br>
 &nbsp; &nbsp;STYLE # second style<br>
 &nbsp; &nbsp; &nbsp; &nbsp;SYMBOL &quot;cartoline_square&quot;<br></div>
 &nbsp; &nbsp; &nbsp; &nbsp;SIZE [sizeobj1]<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;COLOR &nbsp; &nbsp;255 255 255 #white<br>
 &nbsp; &nbsp;END<br>
END<br>
<br></div>
Cheers<br>
<br>
Paul<div><div></div><div class="Wj3C7c"><br>
<br>
On 27-Jun-08, at 6:32 AM, Federica De Martin wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi everybody,<br>
I&#39;m trying to use the SIZEITEM to render a line LAYER. My problem is that when I use the SIZEITEM mapserver follows it only for the first style; this is my class:<br>
<br>
 &nbsp; &nbsp;CLASS<br>
 &nbsp; &nbsp; &nbsp; &nbsp;NAME &quot;calss1&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;STYLE # first style<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SYMBOL &quot;cartoline_square&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZEITEM &quot;sizeobj2&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLOR &nbsp; &nbsp;0 0 0 #black<br>
 &nbsp; &nbsp; &nbsp; &nbsp;END<br>
 &nbsp; &nbsp; &nbsp; &nbsp;STYLE # second style<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SYMBOL &quot;cartoline_square&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZEITEM &quot;sizeobj1&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLOR &nbsp; &nbsp;255 255 255 #white<br>
 &nbsp; &nbsp; &nbsp; &nbsp;END<br>
 &nbsp; &nbsp;END<br>
<br>
The values are: sizeobj2=sizeobj1+2; What I get is that the black lines are of different sizes and the white lines (over the first) always keep the same size (the smaller).<br>
The symbol &quot;cartoline_square&quot; is a symbol of type cartoline, but I also tried with other symbols and I get the same result.<br>
Is there any bug or have I made something wrong in my class?<br>
<br>
I wait for some help, Thanks.<br>
Bye, Federca.<br></div></div>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote>
<br>
<br>
__________________________________________<br><font color="#888888">
<br>
 &nbsp; Paul Spencer<br>
 &nbsp; Chief Technology Officer<br>
 &nbsp; DM Solutions Group Inc<br>
 &nbsp; <a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
</font></blockquote></div><br>