I don't think there's a way to do this, as when rendering roads the
mapserver method is usually what is desired.
You might want to file an enhancement ticket so that this behavior can be
configured with a mapfile keyword.
On a side note, cartolines in mapserver are deprecated since version 5.0 and
completely unsupported sincce 6.0, so you should not be using them for a new
project: use the agg outputformat and STYLE->WIDTH for thick lines.

--
thomas

2011/7/19 赫玄惠 <[email protected]>

> I encounter a question. use one  same shape file, when I use it in
> mapserver it like
>
> but in udig it like
>
> when two street intersect together, udig can paint map with the black
> border,but mapserver can't. Anyone know why?
> my mapfile is this:
> MAP
>   SIZE 800 450
>   EXTENT -200 0 200 100
>   IMAGECOLOR 180 180 250
>   UNITS DD
>   debug 5
>   CONFIG "MS_ERRORFILE" "\ms4w\tmp\ms_error.txt"
>   FONTSET "D:\ms4w\apps\fonts\fonts.list"
> PROJECTION
>     "init=epsg:4326"
> END
> OUTPUTFORMAT
>     NAME png24#AGG
>     DRIVER "GD/PNG" #AGG/PNG*    IMAGEMODE RGB
>     MIMETYPE IMAGE/PNG
>     EXTENSION PNG
>     #FORMATOPTION TRANSPARENT=ON
>     #FORMATOPTION INTERLANCE=OFF
> END
> IMAGETYPE png24 #AGG
> WEB
>     IMAGEPATH "\ms4w\Apache\htdocs\tmp\"
>     IMAGEURL "\tmp\"
> END
>
> SYMBOL
>   NAME 'cartoline'
>   TYPE CARTOLINE
>   LINECAP  butt
>    LINEJOIN  bevel
>    LINEJOINMAXSIZE 3
> END
>
> LAYER
>     NAME 01
>     TYPE LINE
>     debug 5
>     STATUS on
>     TRANSPARENCY alpha
>     CONNECTIONTYPE postgis
>     CONNECTION "user=* dbname=* host=* port=* password=* "
>     DATA "the_geom from *** using unique gid"
>     processing "slose_connection=defer"
>     DUMP TRUE
>     CLASS
>       STYLE
>            COLOR 0 0 0
>            SYMBOL 'cartoline'
>            ANTIALIAS TRUE
>         SIZE 10
>         END
>          STYLE
>            COLOR 255 255 0
>            SYMBOL 'cartoline'
>            ANTIALIAS TRUE
>  &nbs p;      SIZE 8
>         END
>     END
> END
> END
>
> *
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>

<<22.png>>

<<11.png>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to