<p>In your examples you only set the width of the stroke for your symbol. What you want is size 10, width 1.<br>
Regards,</p>
<div class="gmail_quote">> David,<br>> <br>> <br>> As you may have noticed, I've just submitted a bug for this - ticket #3511. In the meantime, I'm drawing thin horizontal rectangles instead, although these don't get rendered either if they're less than 0.05 units (pixels?) high! :-(<br>
> <br>> <br>> Jez<br>> <br>> <br>> -----Original Message-----<br>> From: Fawcett, David (MPCA) [mailto:<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>] <br>> Sent: Monday 9 August 2010 18:59<br>
> To: Jez Walters<br>> Subject: RE: [mapserver-users] Vector symbol drawing problem<br>> <br>> Thomas is the guy who knows what he is talking about, he wrote much of the agg rendering code. <br>> <br>> I hadn't had enough coffee this morning to give you a reasonable answer...<br>
> <br>> David.<br>> <br>> <br>> -----Original Message-----<br>> From: Jez Walters [mailto:<a href="mailto:Jez.Walters@ipl.com">Jez.Walters@ipl.com</a>] <br>> Sent: Monday, August 09, 2010 11:31 AM<br>
> To: Fawcett, David (MPCA)<br>> Cc: '<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>'<br>> Subject: RE: [mapserver-users] Vector symbol drawing problem<br>> <br>> Hi David,<br>
> <br>> <br>> Just in case it makes any difference, I'm attempting to draw the UK Ordnance Survey MasterMap Topography Layer. Here's a sample map file that demonstrates the problem - although for some reason the VerticalLine symbol now gets drawn horizontally!<br>
> <br>> MAP<br>> NAME "IPMap"<br>> EXTENT 529445 179961 529555 180038 # The Mall, London<br>> SIZE 1200 1200<br>> UNITS meters<br>> IMAGETYPE PNG24<br>> IMAGECOLOR 190 255 255<br>
> FONTSET "Fonts.lst"<br>> SHAPEPATH "."<br>> PROJECTION<br>> "init=epsg:27700" # OSGB39<br>> END<br>> <br>> SYMBOL<br>> NAME "HorizontalLine"<br>
> TYPE vector<br>> POINTS<br>> 0 0<br>> 1 0<br>> END<br>> END<br>> <br>> SYMBOL<br>> NAME "VerticalLine"<br>> TYPE vector<br>> POINTS<br>
> 0 0<br>> 0 1<br>> END<br>> END<br>> <br>> LAYER<br>> NAME "TopographicPoint"<br>> STATUS off<br>> TYPE point<br>> UNITS meters<br>> MINSCALEDENOM 0<br>
> MAXSCALEDENOM 3125<br>> TRANSPARENCY alpha<br>> TILEINDEX "OSMasterMap/TopographyLayer/TopographicPoint"<br>> <br>> CLASS<br>> STYLE<br>> SYMBOL "HorizontalLine"<br>
> COLOR 0 0 0<br>> WIDTH 10<br>> END<br>> END<br>> END<br>> END<br>> <br>> <br>> Regards,<br>> <br>> <br>> Jez<br>> <br>> <br>> -----Original Message-----<br>
> From: Fawcett, David (MPCA) [mailto:<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>] <br>> Sent: Monday 9 August 2010 17:03<br>> To: Jez Walters; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> Subject: RE: [mapserver-users] Vector symbol drawing problem<br>> <br>> What does the rest of the map file look like? What is your map extent?<br>> <br>> David.<br>> <br>> -----Original Message-----<br>
> From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Jez Walters<br>
> Sent: Monday, August 09, 2010 11:00 AM<br>> To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> Subject: [mapserver-users] Vector symbol drawing problem<br>> <br>> <br>
> Hello fellow MapServer users!<br>> <br>> I'm trying to draw a really simple vector SYMBOL using MapServer - it's just<br>> a straight line! I expected this to be easy, but I can only get MapServer<br>
> to render vertical lines! The following SYMBOL definition correctly draws a<br>> vertical line:<br>> <br>> SYMBOL<br>> NAME "VerticalLine"<br>> TYPE VECTOR<br>> POINTS<br>> 0 0<br>
> 0 1<br>> END<br>> END<br>> <br>> However, when I change this to draw a horizontal line nothing is output:<br>> <br>> SYMBOL<br>> NAME "HorizontalLine"<br>> TYPE VECTOR<br>
> POINTS<br>> 0 0<br>> 1 0<br>> END<br>> END<br>> <br>> Is this a bug or am I doing something wrong?<br>> <br>> Jez<br>> -- <br>> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Vector-symbol-drawing-problem-tp5389524p5389524.html">http://osgeo-org.1803224.n2.nabble.com/Vector-symbol-drawing-problem-tp5389524p5389524.html</a><br>
> Sent from the Mapserver - User mailing list archive at Nabble.com.<br>> _______________________________________________<br>> mapserver-users mailing list<br>> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>> <br>> <br>> <br>> The information transmitted is intended only for the person<br>
> or entity to which it is addressed and may contain<br>> confidential and/or privileged material. If you are not the<br>> addressee, any disclosure, reproduction, copying,<br>> distribution, or other dissemination or use of this<br>
> communication is strictly prohibited. If you have received<br>> this transmission in error please notify the sender<br>> immediately and then delete this email.<br>> <br>> Any representations or commitments expressed in this email<br>
> are subject to contract.<br>> <br>> This message has been scanned for viruses and dangerous<br>> content. However, it is essential that the recipient also<br>> checks this message using commercially available mail<br>
> scanning and anti-virus software. IPL Information Processing<br>> Limited accepts no liability for any loss or damage resulting<br>> from any virus or other dangerous content in this message.<br>> <br>> IPL Information Processing Limited is registered in England<br>
> and Wales under company registration number 1418818.<br>> Registration took place at Cardiff on 10 May 1979. IPL<br>> Information Processing Limited's registered office and<br>> normal place of business is Eveleigh House, Grove Street,<br>
> Bath, BA1 5LR, United Kingdom. IPL is also registered for<br>> Value Added Tax (VAT) under registration number GB 601 2931 83.<br>> <br>> _______________________________________________<br>> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div>