line thickness with circle

Steve Lime steve.lime at DNR.STATE.MN.US
Mon May 9 18:52:19 EDT 2005


FYI The reason the error appeared is that 'circle' is a MapServer
keyword...

Steve

>>> gerard barrington <gerard_b_18 at HOTMAIL.COM> 5/9/2005 11:51:16 AM
>>>
Pierre,
I thought I had tried that, but I guess not - it worked!

I really like this type of problem - a simple easy solution  :)

Thanks very much....
Gerard



>From: Pierre GIRAUD <bluecarto at gmail.com>
>Reply-To: Pierre GIRAUD <bluecarto at gmail.com>
>To: gerard barrington <gerard_b_18 at hotmail.com>
>Subject: Re: [UMN_MAPSERVER-USERS] line thickness with circle
>Date: Mon, 9 May 2005 15:56:48 +0200
>
>Just try to quote your symbol name :
>
>STYLE
>   SYMBOL "circle"
>   SIZE 9
>END
>
>Pierre
>
>
>On 5/9/05, gerard barrington <gerard_b_18 at hotmail.com> wrote:
> > Dear list,
> >
> > I am having a problem getting my line thickness adjusted to any
size
>other
> > thanone pixel.
> > In my symbol file, I have the following symbol:
> >
> >   SYMBOL
> >         NAME 'circle'
> >         TYPE ELLIPSE
> >         FILLED TRUE
> >         POINTS
> >                 1 1
> >         END
> >   END
> >
> > and in my map file I have a shapefile of type line that references
this
> > symbol:
> >
> > LAYER
> >         NAME "layer"
> >         TYPE LINE
> >         TILEINDEX "C:\layer.shp"
> >         STATUS ON
> >         CLASS
> >                 STYLE
> >                         SYMBOL circle
> >                         SIZE 9
> >                 END
> >         END
> > END
> >
> > However, this gives me this error:
> >
> > getSymbol(): Symbol definition error. Parsing error near
(circle):(line
>56)
> >
> > Commenting out "SYMBOL circle" displays a single pixel line
> >
> > Thanks for any advice,
> >
> > Gerard
> >



More information about the mapserver-users mailing list