<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
There's even a ticket:<br>
<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/ticket/3448">http://trac.osgeo.org/mapserver/ticket/3448</a><br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 6/1/2011 3:18 AM, prab.raja wrote:
<blockquote
cite="mid:BANLkTinjC9Vxsp=UZmrbswLt2Ew4TVJS_A@mail.gmail.com"
type="cite">OK. Thanks!<br>
<br>
<div class="gmail_quote">On Wed, Jun 1, 2011 at 2:34 PM, thomas
bonfort [via OSGeo.org] <span dir="ltr"><<a
moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=6426184&i=0"
target="_top" rel="nofollow" link="external">[hidden email]</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im"> ok. the docs are wrong. WIDTH binding is
available since mapserver 5.4.0.
<br>
<br>
</div>
<div class="im">On Wed, Jun 1, 2011 at 10:58, prab.raja <<a
moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=6426142&i=0"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>> wrote:
</div>
<div>
<div class="im">
<div class="shrinkable-quote"><br>
> Below is the mapserv.exe -v output.
<br>
> It shows MapServer version 5.2.1 only.
<br>
> MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP
<br>
> OUTPUT=PDF
<br>
> OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG
SUPPORTS=FREETYPE
<br>
> SUPPORTS=ICO
<br>
> NV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT
<br>
> SUPPORTS=WFS_SERVER
<br>
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI
<br>
> SUP
<br>
> PORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG
INPUT=JPEG INPUT=POSTGIS
<br>
> INPUT=OGR
<br>
> INPUT=GDAL INPUT=SHAPEFILE
</div>
</div>
<div class="im">> On Wed, Jun 1, 2011 at 2:24 PM, thomas
bonfort [via OSGeo.org] <[hidden
<div class="shrinkable-quote"><br>
> email]> wrote:
<br>
>>
<br>
>> then make sure you are actually using 5.2.1 and
not an older version
<br>
>>
<br>
>> On Wed, Jun 1, 2011 at 10:47, prab.raja
<[hidden email]> wrote:
<br>
>> > yes.
<br>
>> > Below is the style copied from my Map
file.
<br>
>> > STYLE
<br>
>> > COLOR 0 140 70
<br>
>> > WIDTH [gid]
<br>
>> > END
<br>
>> > On Wed, Jun 1, 2011 at 2:12 PM, thomas
bonfort [via OSGeo.org] <[hidden
<br>
>> > email]> wrote:
<br>
>> >>
<br>
>> >> are you using the exact syntax of your
first example, i.e. "WIDTH
<br>
>> >> [gid]" ?
<br>
>> >>
<br>
>> >> On Wed, Jun 1, 2011 at 10:27,
prab.raja <[hidden email]> wrote:
<br>
>> >> > But when I tried this mapserver
gives error message as "getInteger():
<br>
>> >> > Symbol
<br>
>> >> > definition error. Parsing error
near (gid)".
<br>
>> >> > I am using MapServer version
5.2.1.
<br>
>> >> >
<br>
>> >> > On Wed, Jun 1, 2011 at 1:48 PM,
Havard Tveite [via OSGeo.org]
<br>
>> >> > <[hidden
<br>
>> >> > email]> wrote:
<br>
>> >> >>
<br>
>> >> >> According to <URL: <a
<br>
>> >> >> href="<a
</div>
</div>
>> >> >> href="<a href="<a
moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
href="<a moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
<br>
<div>
<div class="h5">>> >> >> href="<a
href="<a moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
href="<a moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> "><a
moz-do-not-send="true"
href="http://www.mapserver.org/mapfile/style.html"
target="_blank" rel="nofollow" link="external">http://www.mapserver.org/mapfile/style.html</a> >
<div class="shrinkable-quote"><br>
>> >> >> that should be possible.
<br>
>> >> >>
<br>
>> >> >> Håvard
<br>
>> >> >>
<br>
>> >> >> On 6/1/2011 8:09 AM,
prab.raja wrote:
<br>
>> >> >> > Hi,
<br>
>> >> >> > I would like to know
if it's posible to draw line layer with
<br>
>> >> >> > variable
<br>
>> >> >> > width
<br>
>> >> >> > from database table.
<br>
>> >> >> >
<br>
>> >> >> > Something like this?
<br>
>> >> >> >
<br>
>> >> >> > LAYER
<br>
>> >> >> > NAME line_layer
<br>
>> >> >> > CONNECTIONTYPE
postgis
<br>
>> >> >> > CONNECTION
"user=postgres password=****** dbname=shpdb
<br>
>> >> >> > host=localhost
<br>
>> >> >> > port=5432"
<br>
>> >> >> > DATA "the_geom
FROM (SELECT gid, the_geom FROM line_layer)
<br>
>> >> >> > AS SUBQUERY
using unique gid"
<br>
>> >> >> > PROCESSING
"CLOSE_CONNECTION=DEFER"
<br>
>> >> >> > TYPE line
<br>
>> >> >> > OPACITY 100
<br>
>> >> >> > STATUS Off
<br>
>> >> >> > CLASS
<br>
>> >> >> > STYLE
<br>
>> >> >> > COLOR 0
140 70
<br>
>> >> >> > WIDTH
[gid]
<br>
>> >> >> > END
<br>
>> >> >> > END
<br>
>> >> >> > END
<br>
>> >> >> >
<br>
>> >> >> > --
<br>
>> >> >> > View this message in
context:
<br>
>> >> >> >
<br>
>> >> >> >
<br>
>> >> >> > <a
moz-do-not-send="true"
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>
>> >> >> > Sent from the Mapserver
- User mailing list archive at Nabble.com.
<div class="shrinkable-quote"><br>
>> >> >> >
_______________________________________________
<br>
>> >> >> > mapserver-users
mailing list
<br>
>> >> >> > [hidden email]
<br>
>> >> >> > <a
moz-do-not-send="true"
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>
>> >> >> Håvard Tveite
<br>
>> >> >> Department of Mathematical
Sciences and Technology, UMB
<br>
>> >> >> Drøbakveien 31, POBox 5003,
N-1432 Ås, NORWAY
<br>
>> >> >> Phone: +47 64965483 Fax:
+47 64965401 <a moz-do-not-send="true"
href="http://www.umb.no/imt/" rel="nofollow"
link="external" target="_blank">http://www.umb.no/imt/</a><br>
>> >> >>
_______________________________________________
<br>
>> >> >> mapserver-users mailing
list
<br>
>> >> >> [hidden email]
<br>
>> >> >> <a moz-do-not-send="true"
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>
>> >> >>
________________________________
<br>
>> >> >> If you reply to this email,
your message will be added to the
<br>
>> >> >> discussion
<br>
>> >> >> below:
<br>
>> >> >>
<br>
>> >> >>
<br>
>> >> >>
<br>
>> >> >> <a moz-do-not-send="true"
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>
>> >> >> To unsubscribe from Is it
posible to substitute a value from table
<div class="shrinkable-quote"><br>
>> >> >> for
<br>
>> >> >> width of line, click here.
<br>
>> >> >
<br>
>> >> >
<br>
>> >> > --
<br>
>> >> > Regards,
<br>
>> >> > Prabu Raja
<br>
>> >> >
<br>
>> >> >
<br>
>> >> >
________________________________
<br>
>> >> > View this message in context:
Re: Is it posible to substitute a value
<br>
>> >> > from
<br>
>> >> > table for width of line
<br>
>> >> > Sent from the Mapserver - User
mailing list archive at Nabble.com.
<br>
>> >> >
<br>
>> >> >
_______________________________________________
<br>
>> >> > mapserver-users mailing list
<br>
>> >> > [hidden email]
<br>
>> >> > <a moz-do-not-send="true"
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>
>> >>
_______________________________________________
<br>
>> >> mapserver-users mailing list
<br>
>> >> [hidden email]
<br>
>> >> <a moz-do-not-send="true"
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>
>> >> ________________________________
<br>
>> >> If you reply to this email, your
message will be added to the
<br>
>> >> discussion
<br>
>> >> below:
<br>
>> >>
<br>
>> >>
<br>
>> >> <a moz-do-not-send="true"
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>
>> >> To unsubscribe from Is it posible to
substitute a value from table for
<div class="shrinkable-quote"><br>
>> >> width of line, click here.
<br>
>> >
<br>
>> >
<br>
>> > --
<br>
>> > Regards,
<br>
>> > Prabu Raja
<br>
>> >
<br>
>> >
<br>
>> > ________________________________
<br>
>> > View this message in context: Re: Is it
posible to substitute a value
<br>
>> > from
<br>
>> > table for width of line
<br>
>> > Sent from the Mapserver - User mailing
list archive at Nabble.com.
<br>
>> >
<br>
>> >
_______________________________________________
<br>
>> > mapserver-users mailing list
<br>
>> > [hidden email]
<br>
>> > <a moz-do-not-send="true"
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>
>>
_______________________________________________
<br>
>> mapserver-users mailing list
<br>
>> [hidden email]
<br>
>> <a moz-do-not-send="true"
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>
>> ________________________________
<br>
>> If you reply to this email, your message will
be added to the discussion
<br>
>> below:
<br>
>>
<br>
>> <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426114.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-tp6425708p6426114.html</a></div>
>> To unsubscribe from Is it posible to substitute
a value from table for
<div class="shrinkable-quote"><br>
>> width of line, click here.
<br>
>
<br>
>
<br>
> --
<br>
> Regards,
<br>
> Prabu Raja
<br>
>
<br>
>
<br>
> ________________________________
<br>
> View this message in context: Re: Is it posible
to substitute a value from
<br>
> table for width of line
<br>
> Sent from the Mapserver - User mailing list
archive at Nabble.com.
<br>
>
<br>
> _______________________________________________
<br>
> mapserver-users mailing list
<br>
> <a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=6426142&i=1"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
> <a moz-do-not-send="true"
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>
>
</div>
</div>
</div>
<div>
<div class="h5">_______________________________________________
</div>
mapserver-users mailing list
<br>
<a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=6426142&i=2"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
<a moz-do-not-send="true"
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 color="#cccccc" noshade="noshade" size="1"> </div>
</div>
<div style="color: rgb(68, 68, 68); font: 12px
tahoma,geneva,helvetica,arial,sans-serif;">
<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 moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426142.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-tp6425708p6426142.html</a>
</div>
<div>
<div class="h5">
<div style="color: rgb(102, 102, 102); font: 11px
tahoma,geneva,helvetica,arial,sans-serif; margin-top:
0.4em;"> To unsubscribe from Is it posible to substitute
a value from table for width of line, <a
moz-do-not-send="true" 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 width="300" align="left">
View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Is-it-posible-to-substitute-a-value-from-table-for-width-of-line-tp6425708p6426184.html">Re:
Is it posible to substitute a value from table for width of line</a><br>
Sent from the <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html">Mapserver
- User mailing list archive</a> at Nabble.com.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>