Problem drawing lines

blaise bpicinbono at WORLDONLINE.FR
Thu Feb 16 15:20:10 EST 2006


On Thursday 16 February 2006 19:55, Chip Taylor wrote:
> 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

Perhaps because of your symbol definition ? What does it display with
SYMBOL 0
or
SYMBOL 1  ## (or more)
(to use the default point symbol) ?
Blaise



More information about the mapserver-users mailing list