[mapserver-users] Vector symbol drawing problem
thomas bonfort
thomas.bonfort at gmail.com
Mon Aug 9 09:20:58 PDT 2010
Try with this symbol:
SYMBOL
NAME "HorizontalLine"
TYPE VECTOR
POINTS
0 1
1 1
END
END
I'm guessing the problem is occuring because the symbol you defined
has a 0 height, and that this messes up the scaling code.
If this symbol works, please post back to the list to confirm, and
open a bug so the problem can be corrected in future versions.
--
thomas
On Mon, Aug 9, 2010 at 18:00, Jez Walters <jez.walters at ipl.com> wrote:
>
> Hello fellow MapServer users!
>
> I'm trying to draw a really simple vector SYMBOL using MapServer - it's just
> a straight line! I expected this to be easy, but I can only get MapServer
> to render vertical lines! The following SYMBOL definition correctly draws a
> vertical line:
>
> SYMBOL
> NAME "VerticalLine"
> TYPE VECTOR
> POINTS
> 0 0
> 0 1
> END
> END
>
> However, when I change this to draw a horizontal line nothing is output:
>
> SYMBOL
> NAME "HorizontalLine"
> TYPE VECTOR
> POINTS
> 0 0
> 1 0
> END
> END
>
> Is this a bug or am I doing something wrong?
>
> Jez
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Vector-symbol-drawing-problem-tp5389524p5389524.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list