Thank you for the answer!<br>I tried to user SIZE [field_name] and SIZE "[field_name]" but in both cases I get [Mapserver Error]: getInteger(). Then I tried also SIZEITEM [field_name] and SIZEITEM "[field_name]" that don't work and SIZEITEM field_name that makes me get the same result as SIZEITEM "field_name"....<br>
<br>Any other idea or workaround?<br>Federica<br><br><br><div class="gmail_quote">2008/6/27 Paul Spencer <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>>:<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>
NAME "calss1"<br>
STYLE # first style<br>
SYMBOL "cartoline_square"<br></div>
SIZE [sizeobj2]<div class="Ih2E3d"><br>
COLOR 0 0 0 #black<br>
END<br>
STYLE # second style<br>
SYMBOL "cartoline_square"<br></div>
SIZE [sizeobj1]<div class="Ih2E3d"><br>
COLOR 255 255 255 #white<br>
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'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>
CLASS<br>
NAME "calss1"<br>
STYLE # first style<br>
SYMBOL "cartoline_square"<br>
SIZEITEM "sizeobj2"<br>
COLOR 0 0 0 #black<br>
END<br>
STYLE # second style<br>
SYMBOL "cartoline_square"<br>
SIZEITEM "sizeobj1"<br>
COLOR 255 255 255 #white<br>
END<br>
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 "cartoline_square" 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>
Paul Spencer<br>
Chief Technology Officer<br>
DM Solutions Group Inc<br>
<a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
</font></blockquote></div><br>