<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm having an occasional php mapscript issue where lines with a width greater than 1 are not being filled. If I set the width to 1 one the issue does not occur. The link below shows two cases of this happening. </div>
<div><br></div><div><a href="http://www.crh.noaa.gov/images/crh/line_width_issue.png">http://www.crh.noaa.gov/images/crh/line_width_issue.png</a><br></div><div><br></div><div>The example in the lower part of the image is TIGER state data drawn from PostGIS:</div>
<div><br></div><div>LAYER</div><div> NAME "state"</div><div> METADATA</div><div> "wms_title" "state"</div><div> END</div><div> PROJECTION</div><div> "init=epsg:4269"</div>
<div> END</div><div> STATUS ON</div><div> CONNECTIONTYPE postgis</div><div> INCLUDE '<a href="http://connection.info">connection.info</a>'</div><div> TYPE POLYGON</div><div> DATA "geom FROM data.tiger_state AS SUBQUERY USING UNIQUE gid USING SRID=4269"</div>
<div> CLASS</div><div> STYLE</div><div> WIDTH 2</div><div> OUTLINECOLOR 0 0 0</div><div> END</div><div> END</div><div> PROCESSING "CLOSE_CONNECTION=NORMAL"</div><div> END</div><div><br></div><div>
The example on the right hand side of the image is a linestring:</div><div><br></div><div>LAYER</div><div> NAME "line"</div><div> METADATA</div><div> "wms_title" "line"</div><div>
END</div><div> PROJECTION</div><div> "init=epsg:4269"</div><div> END</div><div> STATUS ON</div><div> CONNECTIONTYPE postgis</div><div> INCLUDE '<a href="http://connection.info">connection.info</a>'</div>
<div> TYPE LINE</div><div> DATA "geom FROM (SELECT 1 AS id, ST_GeomFromText('LINESTRING(-96 38, 97 37)') AS geom) AS SUBQUERY USING UNIQUE id USING SRID=4269"</div><div> CLASS</div><div> STYLE</div>
<div> COLOR 0 0 0</div><div> WIDTH 3</div><div> END</div><div> STYLE</div><div><span class="" style="white-space:pre"> </span> GEOMTRANSFORM 'end' </div><div><span class="" style="white-space:pre"> </span> ANGLE AUTO</div>
<div><span class="" style="white-space:pre"> </span> SYMBOL 'arrow' </div><div><span class="" style="white-space:pre"> </span> SIZE 22 </div><div><span class="" style="white-space:pre"> </span> <span class="" style="white-space:pre"> </span>COLOR 0 0 0 </div>
<div><span class="" style="white-space:pre"> </span>END </div><div> END</div><div> PROCESSING "CLOSE_CONNECTION=NORMAL"</div><div> END</div><div><br></div><div>I'm running mapserver 6.4.1 with PHP 5.3.3</div>
<div><br></div><div>MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE</div>
<div><br></div><div>Thanks.</div><div><br></div><div>bw</div><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><p style="margin:0px"><span style="font-size:10pt;color:gray">Brian Walawender</span></p>
<p style="margin:0px"><font color="#808080">IT Branch Chief</font></p><p style="margin:0px"><span style="font-size:10pt;color:gray">Systems and Facilities Division</span></p><p style="margin:0px"><span style="font-size:10pt;color:gray">NOAA/National Weather Service</span></p>
<p style="margin:0px"><span style="font-size:10pt;color:gray">Central Region Headquarters</span></p><p style="margin:0px"><span style="font-size:10pt;color:gray">816-268-3114 - Office</span></p><p style="margin:0px"><span style="font-size:10pt;color:gray">816-805-6497 - Cell</span></p>
</span><div><br></div>
</div>