<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ZH-CN;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ZH-CN;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You¡¯re not using mode=tile? The regular CGI map (e.g. mode=map) creation knows nothing about tiles so there¡¯s no way to avoid edge effects. There are specialized
 tools like MapCache that take MapServer maps and create tiles from them. Those tools use techniques like meta-tiling, no label buffers and map edge buffers to avoid edge effects. MapServer also has a built-in tile mode (mode=tile) that can do edge buffering
 but you¡¯re limited to (I think) known tiling schemes (like Google Maps).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
</span><span lang="ZH-CN" style="font-size:10.0pt">ÁõС¶þ</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> [mailto:liuxiaoer@live.cn]
<br>
<b>Sent:</b> Thursday, December 18, 2014 8:47 PM<br>
<b>To:</b> Lime, Steve D (MNIT)<br>
<b>Subject:</b> RE: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Microsoft YaHei","sans-serif"">I create tiles use mapserver and layer.map<br>
like this /cgi-bin/mapserver?map=/var/www/wms/layer.map.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Microsoft YaHei","sans-serif"">> From:
<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a><br>
> To: <a href="mailto:liuxiaoer@live.cn">liuxiaoer@live.cn</a><br>
> Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile<br>
> Date: Fri, 19 Dec 2014 02:43:01 +0000<br>
> <br>
> How are you creating the tiles?<br>
> ________________________________________<br>
> From: <span lang="ZH-CN">ÁõС¶þ</span> [liuxiaoer@live.cn]<br>
> Sent: Thursday, December 18, 2014 8:23 PM<br>
> To: Lime, Steve D (MNIT)<br>
> Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile<br>
> <br>
> Hi,Steve<br>
> <br>
> thank you again for your answer.<br>
> <br>
> But it don't work. The problem is still exists.<br>
> <br>
> What should I do to solve this question?<br>
> <br>
> This is my Mapfile below.<br>
> <br>
> MAP<br>
> NAME "map"<br>
> PROJECTION<br>
> "init=epsg:4326"<br>
> END<br>
> WEB<br>
> METADATA<br>
> wms_enable_request "*"<br>
> wms_srs "EPSG:4326 EPSG:900913"<br>
> labelcache_map_edge_buffer "10"<br>
> tile_map_edge_buffer "10"<br>
> END<br>
> END<br>
> SYMBOL<br>
> NAME 'hospital'<br>
> TYPE pixmap<br>
> IMAGE '/mnt/mapserver/img/hospital.png'<br>
> END<br>
> <br>
> LAYER<br>
> NAME Layer_1400668502611<br>
> TYPE point<br>
> data '/mnt/mapserver/vector/Layer_1400668502611.shp'<br>
> CLASS<br>
> STYLE<br>
> SYMBOL 'hospital'<br>
> SIZE 15<br>
> END<br>
> END<br>
> END<br>
> END<br>
> <br>
> <br>
> <br>
> I shall appreciate a reply from you in regard to my question.<br>
> <br>
> Thanks.<br>
> <br>
> <br>
> liuxiaoer<br>
> <br>
> ________________________________<br>
> From: <a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a><br>
> To: <a href="mailto:liuxiaoer@live.cn">liuxiaoer@live.cn</a>; <a href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</a><br>
> Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile<br>
> Date: Thu, 18 Dec 2014 22:40:50 +0000<br>
> <br>
> <br>
> Check out the "labelcache_map_edge_buffer" and <span lang="ZH-CN">¡°</span>tile_map_edge_buffer<span lang="ZH-CN">¡±</span> metadata settings (in the WEB metadata section), or using metatiles. It depends on how you<span lang="ZH-CN">¡¯</span>re generating tiles
 (mode=tile or MapCache/TileCache).<br>
> <br>
> <br>
> <br>
> Steve<br>
> <br>
> <br>
> <br>
> From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of ???<br>
> Sent: Wednesday, December 17, 2014 3:18 AM<br>
> To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> Subject: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile<br>
> <br>
> <br>
> <br>
> Hi, is there a way to avoid clipping the symbols on the edge of a tile, so all symbols would be fully displayed?<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> [<a href="cid:image001.png@01D01AE1.60C6A7E0">cid:image001.png@01D01AE1.60C6A7E0</a>]<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> The second house symbol is clipped.<br>
> <br>
> Thank you very much!<br>
> <o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>