I don't think there's a way to do this, as when rendering roads the mapserver method is usually what is desired.<div>You might want to file an enhancement ticket so that this behavior can be configured with a mapfile keyword.</div>
<div>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.</div>
<div><br></div><div>--</div><div>thomas<br><br><div class="gmail_quote">2011/7/19 赫玄惠 <span dir="ltr"><<a href="mailto:xiaoshitou1986126@126.com">xiaoshitou1986126@126.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style="font-family:arial, verdana, sans-serif;line-height:25px">I encounter a question. use one same shape file, when I use it in mapserver it like<br>
<img src="cid:752891ff$1$13140d5bf06$Coremail$xiaoshitou1986126@126.com"><br>but in udig it like <br><img src="cid:3a893870$2$13140d5bf06$Coremail$xiaoshitou1986126@126.com"><br>when two street intersect together, udig can paint map with the black border,but mapserver can't. Anyone know why?<br>
my mapfile is this:<br>MAP<br> SIZE 800 450<br> EXTENT -200 0 200 100<br> IMAGECOLOR 180 180 250<br> UNITS DD<br> debug 5<br> CONFIG "MS_ERRORFILE" "\ms4w\tmp\ms_error.txt"<br> FONTSET "D:\ms4w\apps\fonts\fonts.list"<br>
PROJECTION<br> "init=epsg:4326"<br>END<br>OUTPUTFORMAT<br> NAME png24#AGG<br> DRIVER "GD/PNG" #AGG/PNG<b> IMAGEMODE RGB<br> MIMETYPE IMAGE/PNG <br> EXTENSION PNG<br> #FORMATOPTION TRANSPARENT=ON <br>
#FORMATOPTION INTERLANCE=OFF <br>END<br>IMAGETYPE png24 #AGG<br>WEB<br> IMAGEPATH "\ms4w\Apache\htdocs\tmp\"<br> IMAGEURL "\tmp\"<br>END<br><br>SYMBOL<br> NAME 'cartoline'<br> TYPE CARTOLINE<br>
LINECAP butt<br> LINEJOIN bevel<br> LINEJOINMAXSIZE 3 <br>END<br><br>LAYER<br> NAME 01<br> TYPE LINE<br> debug 5<br> STATUS on <br> TRANSPARENCY alpha <br> CONNECTIONTYPE postgis<br> CONNECTION "user=* dbname=* host=* port=* password=*
"<br> DATA "the_geom from *** using unique gid"<br> processing "slose_connection=defer" <br> DUMP TRUE<br> CLASS<br> STYLE<br> COLOR 0 0 0<br> SYMBOL 'cartoline'<br>
ANTIALIAS TRUE <br> SIZE 10 <br> END <br> STYLE<br> COLOR 255 255 0<br> SYMBOL 'cartoline'<br> ANTIALIAS TRUE <br> &nbs
p; SIZE 8 <br> END <br> END<br>END<br>END<br><br></b></span>
</div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>