Problem drawing lines
Chip Taylor
work at XWB.COM
Thu Feb 16 10:55:46 PST 2006
I have a map file that is supposed to draw streets from a shapefile. Of
course, the shape file has many segments per street. Mapserver 4.6 renders
the streets with gaps in the continuity of the line. The same shapefile
displayed in ArcMap shows no gaps. Can you tell me what is the problem?
Here is the mapfile:
# This is the Washington State map file
NAME "wamap"
UNITS DD
EXTENT -127.00 43.00 -115.00 50.00
SIZE 475 475
IMAGECOLOR 189 202 222
IMAGETYPE GIF
SHAPEPATH "../Shape_Files"
FONTSET "../fontset.txt"
#####################################
# Symbol for drawing cartolines
#
SYMBOL
NAME "cartoline"
TYPE cartoline
LINECAP butt
LINEJOIN miter
LINEJOINMAXSIZE 1
END
#####################################
# Web object
#
WEB
TEMPLATE "../HTML_Files/sitemap.html"
IMAGEPATH 'd:/wwwroot/tmp/'
IMAGEURL "/tmp/"
END
#####################################
# Washington State Road layer - Local Roads (test)
#
LAYER
NAME "testRoads"
DATA "US_States/Washington/Roads/CountyRoads"
status default
TYPE line
CLASS
NAME "Interstate Hwy"
STYLE
SYMBOL "cartoline"
SIZE 3
COLOR 241 151 91
END
END
END
END # mapfile
More information about the MapServer-users
mailing list