<div>Below is the mapserv.exe -v output.</div><div><br></div><div>It shows MapServer version 5.2.1 only.</div><div><br></div><div>MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF</div><div> OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICO</div>

<div>NV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER</div><div>SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUP</div><div>PORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR</div>

<div> INPUT=GDAL INPUT=SHAPEFILE</div><br><div class="gmail_quote">On Wed, Jun 1, 2011 at 2:24 PM, thomas bonfort [via OSGeo.org] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=6426123&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">

        then make sure you are actually using 5.2.1 and not an older version
<br><br></div><div class="im">On Wed, Jun 1, 2011 at 10:47, prab.raja &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=6426114&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
</div><div><div class="im"><br>&gt; yes.
<br>&gt; Below is the style copied from my Map file.
<br>&gt;         STYLE
<br>&gt;             COLOR 0 140 70
<br>&gt;             WIDTH [gid]
<br>&gt;          END
<br></div><div class="im">&gt; On Wed, Jun 1, 2011 at 2:12 PM, thomas bonfort [via OSGeo.org] &lt;[hidden
<div class='shrinkable-quote'><br>&gt; email]&gt; wrote:
<br>&gt;&gt;
<br>&gt;&gt; are you using the exact syntax of your first example, i.e. &quot;WIDTH [gid]&quot; ?
<br>&gt;&gt;
<br>&gt;&gt; On Wed, Jun 1, 2011 at 10:27, prab.raja &lt;[hidden email]&gt; wrote:
<br>&gt;&gt; &gt; But when I tried this mapserver gives error message as &quot;getInteger():
<br>&gt;&gt; &gt; Symbol
<br>&gt;&gt; &gt; definition error. Parsing error near (gid)&quot;.
<br>&gt;&gt; &gt; I am using MapServer version 5.2.1.
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; On Wed, Jun 1, 2011 at 1:48 PM, Havard Tveite [via OSGeo.org] &lt;[hidden
<br>&gt;&gt; &gt; email]&gt; wrote:
<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; According to &lt;URL: &lt;a
</div></div>&gt;&gt; &gt;&gt; href=&quot;&lt;a href=&quot;<a href="http://www.mapserver.org/mapfile/style.html" target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> &quot;&gt;<a href="http://www.mapserver.org/mapfile/style.html" target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> &quot;&gt;&lt;a href=&quot;<a href="http://www.mapserver.org/mapfile/style.html" target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> &quot;&gt;<a href="http://www.mapserver.org/mapfile/style.html" target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> &gt;
<br><div><div></div><div class="h5">&gt;&gt; &gt;&gt; that should be possible.
<div class='shrinkable-quote'><br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; Håvard
<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; On 6/1/2011 8:09 AM, prab.raja wrote:
<br>&gt;&gt; &gt;&gt; &gt; Hi,
<br>&gt;&gt; &gt;&gt; &gt; I would like to know if it&#39;s posible to draw line layer with variable
<br>&gt;&gt; &gt;&gt; &gt; width
<br>&gt;&gt; &gt;&gt; &gt; from database table.
<br>&gt;&gt; &gt;&gt; &gt;
<br>&gt;&gt; &gt;&gt; &gt; Something like this?
<br>&gt;&gt; &gt;&gt; &gt;
<br>&gt;&gt; &gt;&gt; &gt; LAYER
<br>&gt;&gt; &gt;&gt; &gt;        NAME line_layer
<br>&gt;&gt; &gt;&gt; &gt;        CONNECTIONTYPE postgis
<br>&gt;&gt; &gt;&gt; &gt;        CONNECTION &quot;user=postgres password=****** dbname=shpdb
<br>&gt;&gt; &gt;&gt; &gt; host=localhost
<br>&gt;&gt; &gt;&gt; &gt; port=5432&quot;
<br>&gt;&gt; &gt;&gt; &gt;        DATA &quot;the_geom FROM  (SELECT gid, the_geom FROM line_layer)
<br>&gt;&gt; &gt;&gt; &gt;           AS SUBQUERY using unique gid&quot;
<br>&gt;&gt; &gt;&gt; &gt;        PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;
<br>&gt;&gt; &gt;&gt; &gt;        TYPE line
<br>&gt;&gt; &gt;&gt; &gt;        OPACITY 100
<br>&gt;&gt; &gt;&gt; &gt;        STATUS Off
<br>&gt;&gt; &gt;&gt; &gt;        CLASS
<br>&gt;&gt; &gt;&gt; &gt;           STYLE
<br>&gt;&gt; &gt;&gt; &gt;              COLOR 0 140 70
<br>&gt;&gt; &gt;&gt; &gt;              WIDTH [gid]
<br>&gt;&gt; &gt;&gt; &gt;           END
<br>&gt;&gt; &gt;&gt; &gt;        END
<br>&gt;&gt; &gt;&gt; &gt;     END
<br>&gt;&gt; &gt;&gt; &gt;
<br>&gt;&gt; &gt;&gt; &gt; --
<br>&gt;&gt; &gt;&gt; &gt; View this message in context:
<br>&gt;&gt; &gt;&gt; &gt;
<br>&gt;&gt; &gt;&gt; &gt; <a href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6425708.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6425708.html</a></div>

&gt;&gt; &gt;&gt; &gt; Sent from the Mapserver - User mailing list archive at Nabble.com.
<div class='shrinkable-quote'><br>&gt;&gt; &gt;&gt; &gt; _______________________________________________
<br>&gt;&gt; &gt;&gt; &gt; mapserver-users mailing list
<br>&gt;&gt; &gt;&gt; &gt; [hidden email]
<br>&gt;&gt; &gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&gt; &gt;&gt; &gt;
<br>&gt;&gt; &gt;&gt; --
<br>&gt;&gt; &gt;&gt; Håvard Tveite
<br>&gt;&gt; &gt;&gt; Department of Mathematical Sciences and Technology, UMB
<br>&gt;&gt; &gt;&gt; Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
<br>&gt;&gt; &gt;&gt; Phone: +47 64965483 Fax: +47 64965401 <a href="http://www.umb.no/imt/" rel="nofollow" link="external" target="_blank">http://www.umb.no/imt/</a><br>&gt;&gt; &gt;&gt; _______________________________________________
<br>&gt;&gt; &gt;&gt; mapserver-users mailing list
<br>&gt;&gt; &gt;&gt; [hidden email]
<br>&gt;&gt; &gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; ________________________________
<br>&gt;&gt; &gt;&gt; If you reply to this email, your message will be added to the
<br>&gt;&gt; &gt;&gt; discussion
<br>&gt;&gt; &gt;&gt; below:
<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; <a href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426034.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426034.html</a></div>

&gt;&gt; &gt;&gt; To unsubscribe from Is it posible to substitute a value from table for
<div class='shrinkable-quote'><br>&gt;&gt; &gt;&gt; width of line, click here.
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; --
<br>&gt;&gt; &gt; Regards,
<br>&gt;&gt; &gt; Prabu Raja
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; ________________________________
<br>&gt;&gt; &gt; View this message in context: Re: Is it posible to substitute a value
<br>&gt;&gt; &gt; from
<br>&gt;&gt; &gt; table for width of line
<br>&gt;&gt; &gt; Sent from the Mapserver - User mailing list archive at Nabble.com.
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; _______________________________________________
<br>&gt;&gt; &gt; mapserver-users mailing list
<br>&gt;&gt; &gt; [hidden email]
<br>&gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&gt; &gt;
<br>&gt;&gt; &gt;
<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; mapserver-users mailing list
<br>&gt;&gt; [hidden email]
<br>&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; ________________________________
<br>&gt;&gt; If you reply to this email, your message will be added to the discussion
<br>&gt;&gt; below:
<br>&gt;&gt;
<br>&gt;&gt; <a href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426084.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426084.html</a></div>

&gt;&gt; To unsubscribe from Is it posible to substitute a value from table for
<div class='shrinkable-quote'><br>&gt;&gt; width of line, click here.
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; Regards,
<br>&gt; Prabu Raja
<br>&gt;
<br>&gt;
<br>&gt; ________________________________
<br>&gt; View this message in context: Re: Is it posible to substitute a value from
<br>&gt; table for width of line
<br>&gt; Sent from the Mapserver - User mailing list archive at Nabble.com.
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; mapserver-users mailing list
<br>&gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=6426114&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;
<br>&gt;
</div></div></div><div><div></div><div class="h5">_______________________________________________
</div>mapserver-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=6426114&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div></div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div><div></div><div class="h5">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div></div><a href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426114.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426114.html</a>
        </div><div><div></div><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Is it posible to substitute a value from table for width of line, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Prabu Raja<br><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426123.html">Re: Is it posible to substitute a value from table for width of line</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>