[mapserver-users] tiled label issue - labels cut off in cases where the label fits on one tile but not the other?

Mark Volz MarkVolz at co.lyon.mn.us
Thu Jul 18 11:59:56 PDT 2013


Thomas

At what level is  "labelcache_map_edge_buffer" set?

Thanks

Mark Volz, GISP
GIS Specialist


> -----Original Message-----
> From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
> Sent: Thursday, July 18, 2013 12:14 PM
> To: Mark Volz
> Cc: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] tiled label issue - labels cut off in cases where
> the label fits on one tile but not the other?
> 
> sorry, wrong thread... tl;dr : set your mapfile's labelcache_map_edge_buffer
> to the same value as your mapcache tileset's metabuffer.
> 
> On 18 July 2013 19:10, thomas bonfort <thomas.bonfort at gmail.com> wrote:
> > You're nearly there !
> >
> > http://lists.osgeo.org/pipermail/mapserver-users/2012-October/073462.h
> > tml
> >
> > this is also documented in the mapcache docs and sample configuration
> file.
> >
> > --
> > thomas
> >
> > On 18 July 2013 18:59, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:
> >> Hello,
> >>
> >> I am trying to set up a my mapfile so that I can tile my parcel layer.  I think I
> have everything set up correctly, however there are still some cases where
> labels are cut off.  After some investigation I came to the conclusion that I
> either have something wrong, or that I may have come across a bug or
> limitation.
> >>
> >> Here is what I did:
> >> 1) I set up PROCESSING "LABEL_NO_CLIP=True" so that the entire parcel
> >> is used to calculate the label position
> >> 2) I set up POSITION to CC so the label will be centered
> >> 3) I verified that PARTIALS is set to FALSE so that labels will "flow
> >> off" a tile
> >> 4) I set MINFEATURESIZE to AUTO
> >>
> >> Here is what I noticed:
> >> In most cases everything works great.  However,  on a larger label where
> some letters may fall on one tile, and other letters may fall on the other tile,
> only the tile that has label anchor point of the parcel is labeled.
> >>
> >> For Example:
> >> Consider a parcel that should have the label "Joe Smith"  The label is
> centered on the parcel.  The label "Joe Smi" appears on the left tile.
> However the label "th" is missing from the right tile.
> >>
> >> Question:
> >> How can I get the rest of the label to appear on the tile that does not
> contain the label anchor point so that the user will see "Joe Smith" instead of
> just "Joe Smi"
> >>
> >> Thanks
> >>
> >>
> >> Mark Volz, GISP
> >> GIS Specialist
> >>
> >>
> >> _______________________________________________
> >> 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