[mapserver-users] Labels disappear

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Fri Jan 13 04:33:21 PST 2017


Hi,

There should be a common-for-all-programs FAQ about labels in tiled maps but I fear that such does not exist.

The problem comes from tiling. 256x256 pixels is damn little area for a map. If a label does not fit completely inside the tile boundaries you have two options: cut it at the boundary or do not render it at all. The first option leads to cut labels, the latter to missing labels.

One option is to put your client to make single tile request, another option is to use cached tile map service (MapCache, GeoWebCache, MapProxy etc.) that splits tiles from bigger metatiles before sending them to the client. Here are couple of links for you to begin with 
http://dev.openlayers.org/examples/single-tile.html
http://geowebcache.org/docs/current/concepts/metatiles.html

You will find whole lot of reading from the web with keywords like tile, cut label, missing label, metatile, gutter.

-Jukka Rahkonen-


ccjklppp wrote:
Re: [mapserver-users] Labels disappear

yes it is



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Labels-disappear-tp5302525p5303321.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
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