In your examples you only set the width of the stroke for your symbol. What you want is size 10, width 1. Regards, > David, > > > 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! :-( > > > Jez > > > -----Original Message----- > From: Fawcett, David (MPCA) [mailto:[email protected]] > Sent: Monday 9 August 2010 18:59 > To: Jez Walters > Subject: RE: [mapserver-users] Vector symbol drawing problem > > Thomas is the guy who knows what he is talking about, he wrote much of the agg rendering code. > > I hadn't had enough coffee this morning to give you a reasonable answer... > > David. > > > -----Original Message----- > From: Jez Walters [mailto:[email protected]] > Sent: Monday, August 09, 2010 11:31 AM > To: Fawcett, David (MPCA) > Cc: '[email protected]' > Subject: RE: [mapserver-users] Vector symbol drawing problem > > Hi David, > > > 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! > > MAP > NAME "IPMap" > EXTENT 529445 179961 529555 180038 # The Mall, London > SIZE 1200 1200 > UNITS meters > IMAGETYPE PNG24 > IMAGECOLOR 190 255 255 > FONTSET "Fonts.lst" > SHAPEPATH "." > PROJECTION > "init=epsg:27700" # OSGB39 > END > > SYMBOL > NAME "HorizontalLine" > TYPE vector > POINTS > 0 0 > 1 0 > END > END > > SYMBOL > NAME "VerticalLine" > TYPE vector > POINTS > 0 0 > 0 1 > END > END > > LAYER > NAME "TopographicPoint" > STATUS off > TYPE point > UNITS meters > MINSCALEDENOM 0 > MAXSCALEDENOM 3125 > TRANSPARENCY alpha > TILEINDEX "OSMasterMap/TopographyLayer/TopographicPoint" > > CLASS > STYLE > SYMBOL "HorizontalLine" > COLOR 0 0 0 > WIDTH 10 > END > END > END > END > > > Regards, > > > Jez > > > -----Original Message----- > From: Fawcett, David (MPCA) [mailto:[email protected]] > Sent: Monday 9 August 2010 17:03 > To: Jez Walters; [email protected] > Subject: RE: [mapserver-users] Vector symbol drawing problem > > What does the rest of the map file look like? What is your map extent? > > David. > > -----Original Message----- > From: [email protected] [mailto: [email protected]] On Behalf Of Jez Walters > Sent: Monday, August 09, 2010 11:00 AM > To: [email protected] > Subject: [mapserver-users] Vector symbol drawing problem > > > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > The information transmitted is intended only for the person > or entity to which it is addressed and may contain > confidential and/or privileged material. If you are not the > addressee, any disclosure, reproduction, copying, > distribution, or other dissemination or use of this > communication is strictly prohibited. If you have received > this transmission in error please notify the sender > immediately and then delete this email. > > Any representations or commitments expressed in this email > are subject to contract. > > This message has been scanned for viruses and dangerous > content. However, it is essential that the recipient also > checks this message using commercially available mail > scanning and anti-virus software. IPL Information Processing > Limited accepts no liability for any loss or damage resulting > from any virus or other dangerous content in this message. > > IPL Information Processing Limited is registered in England > and Wales under company registration number 1418818. > Registration took place at Cardiff on 10 May 1979. IPL > Information Processing Limited's registered office and > normal place of business is Eveleigh House, Grove Street, > Bath, BA1 5LR, United Kingdom. IPL is also registered for > Value Added Tax (VAT) under registration number GB 601 2931 83. > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
