[mapserver-users] Label text always clipped by tiles

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Jan 26 15:43:44 EST 2011


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ä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Mike Stoddart
Lähetetty: 26. tammikuuta 2011 18:58
Vastaanottaja: mapserver-users at lists.osgeo.org
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 <gregor at hostgis.com> 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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list