[mapserver-users] placement of labels from two different layers that have the same feature shape
Brent Fraser
bfraser at geoanalytic.com
Wed May 26 09:36:02 PDT 2010
Mark,
I seem to recall the point labeling is more sophisticated (it has 9 positions
to choose from) than polygon labeling. Perhaps you could generate parcel and
lot centroids and label them instead? One side-effect would be if the parcel
was in the view, but the centroid was not, then the label would not be shown...
Brent Fraser
Mark Volz wrote:
> Hello,
>
> I am creating a map for parcels and lots. If possible I would like to
> label both layers at the same time. However, since many of the parcels
> and lots have the same, or similar feature shapes the lot labels are not
> always displayed. How can I make sure that labels from both layers get
> displayed inside their respective polygons, while still utilizing label
> collision avoidance / detection?
>
> I have already looked at a couple keywords:
>
> Position: Does not move the lot layer far enough away so the label
> still is under the envelope from the parcel label
>
> Label offset: I was able to label both layers at the same time.
> However, there were many cases where the label was displayed outside of
> the lot polygon.
>
> Wrap: apparently when wrap is used the blank space is still considered
> part of the label envelope, so even if I both labels could have fit the
> second label did not show up as label collision avoidance already placed
> a label in that area.
>
> Force / wrap combination: I could use a force / wrap combination.
> However, the results might look bad on an area with a small parcel and lot.
>
>
>
> Thanks
>
> Mark Volz
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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