Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-12-12 Thread Havard Tveite
I have been able to reproduce this problem with trunk. It seems to occur for gap lengths that are longer than the length of the line. In that case, the arrows are rendered for each line segment from the middle of the line to the end of the line. Slightly different behaviour for 6.0 and trunk.

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-11 Thread Jackey Cheung
Dear Stephen, We've checked that vertices of line are not coincide. Please check the attached MapInfo file. It's the problematic part taken out from the original map. On Fri, Nov 11, 2011 at 9:47 AM, Stephen Woodbridge wood...@swoodbridge.com wrote: Jackey, I have seen this problem before

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-10 Thread Havard Tveite
Dear Jackey Cheung, I am not sure what exactly you are trying to achieve. Your arrows seem to point in the direction of the lines. The topmost arrow in figure 1 is placed at a strange position - is that the problem? Some comments: The result shown in image 2 is expected. The arrow symbols are

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-10 Thread Jackey Cheung
Thanks for your comment, Havard Tveite. As you suspected, the strange position (and also redundant) of arrows is problem in figure 1. Since there is only one line there, we expect only one set of (around 2~3) arrows were rendered. We can't figure out why there are redundant arrows rendered at

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-10 Thread Stephen Woodbridge
Jackey, I have seen this problem before and I think it is related to the fact that you might have coincident points in your line. For example if the first and second point in the linestring have the same value. This causes problems when we try to compute the heading for that segment. If you

[mapserver-users] GAP problem on MapServer 6.0.1

2011-11-09 Thread Jackey Cheung
Hi all, We are trying to render line direction on 6.0.1. However, there are something weird with it. SYMBOL NAME arrow_right TYPE VECTOR POINTS 5 6 27 6 25 0 35 7.5 25 14 27 8 5 8 5 6 END FILLED TRUE END LAYER NAME