[MS4W-Users] dynamic line pattern
TC Haddad
tchaddad at gmail.com
Wed Mar 27 14:07:14 EDT 2019
I think James' suggestion would work for points or polygons, but for lines,
it seems that PATTERN is the specified way to go:
See: https://mapserver.org/mapfile/symbol.html#symbol
bottom of the page, under TYPE.
On Wed, Mar 27, 2019 at 10:35 AM Passmore, James H. via MS4W-Users <
ms4w-users at lists.ms4w.com> wrote:
> Could you use SYMBOL
>
> CLASS
> NAME "buslines"
> STYLE
> COLOR [linecolor]
> WIDTH 4
> SYMBOL [pattern]
> END
> END # CLASS
>
> James
>
> -----Original Message-----
> From: MS4W-Users <ms4w-users-bounces at lists.ms4w.com> On Behalf Of Sven
> Schroeter via MS4W-Users
> Sent: 27 March 2019 16:57
> To: MS4W-Users at lists.ms4w.com
> Cc: Sven Schroeter <schroeter at netgis.de>
> Subject: [MS4W-Users] dynamic line pattern
>
> Hi,
>
> I have a line Layer and want to change the pattern dynamicly from the
> attribute table.
> Is it possible?
>
>
> e.g. I have this working:
>
> CLASS
> NAME "buslines"
> STYLE
> COLOR [linecolor]
> WIDTH 4
> PATTERN 40 10 END
> END
> END # CLASS
>
>
> and I want to get the pattern from an attribute:
>
>
> CLASS
> NAME "buslines"
> STYLE
> COLOR [linecolor]
> WIDTH 4
> PATTERN [pattern] END
> END
> END # CLASS
>
> but this dont work. Any hint?
>
> Thanks
>
> Sven
>
>
>
>
> This email and any attachments are intended solely for the use of the
> named recipients. If you are not the intended recipient you must not use,
> disclose, copy or distribute this email or any of its attachments and
> should notify the sender immediately and delete this email from your system.
> UK Research and Innovation has taken every reasonable precaution to
> minimise risk of this email or any attachments containing viruses or
> malware but the recipient should carry out its own virus and malware checks
> before opening the attachments. UK Research and Innovation does not accept
> any liability for any losses or damages which the recipient may sustain due
> to presence of any viruses.
> Opinions, conclusions or other information in this message and attachments
> that are not related directly to UK Research and Innovation business are
> solely those of the author and do not represent the views of UK Research
> and Innovation.
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.ms4w.com
> https://lists.ms4w.com/mailman/listinfo/ms4w-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20190327/9ff340ad/attachment-0001.html>
More information about the MS4W-Users
mailing list