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).
Steve From: 刘小二 [mailto:[email protected]] Sent: Thursday, December 18, 2014 8:47 PM To: Lime, Steve D (MNIT) Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols on the edge of a tile I create tiles use mapserver and layer.map like this /cgi-bin/mapserver?map=/var/www/wms/layer.map. > From: [email protected]<mailto:[email protected]> > To: [email protected]<mailto:[email protected]> > Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols > on the edge of a tile > Date: Fri, 19 Dec 2014 02:43:01 +0000 > > How are you creating the tiles? > ________________________________________ > From: 刘小二 [[email protected]] > Sent: Thursday, December 18, 2014 8:23 PM > To: Lime, Steve D (MNIT) > Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols > on the edge of a tile > > Hi,Steve > > thank you again for your answer. > > But it don't work. The problem is still exists. > > What should I do to solve this question? > > This is my Mapfile below. > > MAP > NAME "map" > PROJECTION > "init=epsg:4326" > END > WEB > METADATA > wms_enable_request "*" > wms_srs "EPSG:4326 EPSG:900913" > labelcache_map_edge_buffer "10" > tile_map_edge_buffer "10" > END > END > SYMBOL > NAME 'hospital' > TYPE pixmap > IMAGE '/mnt/mapserver/img/hospital.png' > END > > LAYER > NAME Layer_1400668502611 > TYPE point > data '/mnt/mapserver/vector/Layer_1400668502611.shp' > CLASS > STYLE > SYMBOL 'hospital' > SIZE 15 > END > END > END > END > > > > I shall appreciate a reply from you in regard to my question. > > Thanks. > > > liuxiaoer > > ________________________________ > From: [email protected]<mailto:[email protected]> > To: [email protected]<mailto:[email protected]>; > [email protected]<mailto:[email protected]> > Subject: RE: [mapserver-users] is there a way to avoid clipping the symbols > on the edge of a tile > Date: Thu, 18 Dec 2014 22:40:50 +0000 > > > Check out the "labelcache_map_edge_buffer" and “tile_map_edge_buffer” > metadata settings (in the WEB metadata section), or using metatiles. It > depends on how you’re generating tiles (mode=tile or MapCache/TileCache). > > > > Steve > > > > From: > [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of ??? > Sent: Wednesday, December 17, 2014 3:18 AM > To: [email protected]<mailto:[email protected]> > Subject: [mapserver-users] is there a way to avoid clipping the symbols on > the edge of a tile > > > > Hi, is there a way to avoid clipping the symbols on the edge of a tile, so > all symbols would be fully displayed? > > > > > > [cid:[email protected]] > > > > > > > The second house symbol is clipped. > > Thank you very much! >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
