labelcache on is the default setting, and will apply for all layers where you have not set FORCE TRUE on your labels. if you don't want overlapping labels, this should be left as is.
when tiling, you should *always* set PARTIALS FALSE on all your labels. - the metabuffer tilecache option should be set, to avoid artifacts on lines due to the the line caps that can be set. it will not have an effect on cut labels. when setting this option, mapserver *must* be configured with its labelcache_map_edge_buffer set to the same value as the tilecache metabuffer, so it will not put labels in the area that will be cut off by the metabuffer. - metatiling has an effect on the number of labels that can be displayed, in the sense that it is easier to display labels in a large image than it is in a 256x256 tile. as for your requirement of having all labels appear, without overlapping, and being continuous across tile boundaries, I'm afraid this is physically impossible to obtain. regards, thomas On Wed, Jan 26, 2011 at 21:43, Rahkonen Jukka <[email protected]> wrote: > Hi, > > I have never done this kind of label stuff myself, but Mapserver > documentation seems to say that first the LAYER should have LABELCACHE ON > before other advanced features have an effect. You sure have activated > labelcache? > > -Jukka Rahkonen- > > > -----Alkuperäinen viesti----- > Lähettäjä: [email protected] > [mailto:[email protected]] Puolesta Mike Stoddart > Lähetetty: 26. tammikuuta 2011 18:58 > Vastaanottaja: [email protected] > Aihe: Re: [mapserver-users] Label text always clipped by tiles > > My problem is that I need ALL labels to be complete and visible. I > cannot display a partial label. Now I don't see any clipped labels > because they aren't displayed. I'm using: > > tilecache 2.11 > mapserver-5.4.2.3.fc12.x86_64 > mapserver-python-5.4.2.3.fc12.x86_64 > > which I should have mentioned earlier. > > Thanks > Mike > > On Wed, Jan 26, 2011 at 11:53 AM, Gregor at HostGIS <[email protected]> > wrote: >> Let's see: >> >> For starts, set PARTIALS FALSE and FORCE FALSE in the mapfile. That would >> prevent truncated labels, which would be worse than missing labels. >> (presumably) >> >> You may also want to add MAXSIZE 2048 to the mapfile, an element of the MAP >> object. This would allow 5x5 (1280) tiles, as opposed to the default which I >> think is 1024. >> >> The tilecache.cfg looks good too. And you say it's showing the very same >> tiles, truncated labels, etc.? >> >> -- >> HostGIS, Open Source solutions for the global GIS community >> Greg Allensworth - SysAdmin, Programmer, GIS Person, Security >> Network+ Server+ A+ Security+ Linux+ >> PHP PostgreSQL MySQL DHTML/JavaScript/AJAX >> >> "No one cares if you can back up - only if you can recover." >> > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
