[mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

thomas bonfort thomas.bonfort at gmail.com
Tue Mar 3 10:01:45 PST 2009


To summarize, here is the way to *completely* avoid truncated labels
and edge artifacts:

* use a 10 pixel metabuffer in your tilecache config (the number of
metatiles is irrelevant, but as Chris points out, there'll be more
labels included if you use a 3x3 (or more) metatiling scheme than a
1x1 one :

metaTile=true
metaSize=3,3
metaBuffer=10

* set a 10 pixel edge buffer in mapserver (so no labels are rendered
in the 10 pixels on the edges of the image) :
WEB
    METADATA
        labelcache_map_edge_buffer "-10"
    END
END

* use PARTIALS FALSE in all your label blocks

--
Thomas Bonfort
CampToCamp



More information about the MapServer-users mailing list