[mapserver-users] Vector symbol drawing problem
Jez Walters
Jez.Walters at ipl.com
Mon Aug 9 09:30:56 PDT 2010
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
____________________________________________________________
Jez Walters
Senior Consultant
direct phone: +44 (0)1225 475093
phone: +44 (0)1225 475000
fax: +44 (0)1225 444400
email: jez.walters at ipl.com
IPL Information Processing Limited
Eveleigh House, Grove Street, Bath, BA1 5LR, UK
www.ipl.com
____________________________________________________________
-----Original Message-----
From: Fawcett, David (MPCA) [mailto:David.Fawcett at state.mn.us]
Sent: Monday 9 August 2010 17:03
To: Jez Walters; mapserver-users at lists.osgeo.org
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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jez Walters
Sent: Monday, August 09, 2010 11:00 AM
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
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.
More information about the MapServer-users
mailing list