LABELREQUIRES - valid DATA object needed in 4.4.1
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Fri Apr 1 06:00:09 PST 2005
Sounds like you could use a FEATURE to draw one pixel in the UL corner
of the map in the background color of the map. Make it one of your first
layers in the mapfile and you will never see it.
-Steve W.
Pierre GIRAUD wrote:
> hi list,
>
> For an application, we would be pleased to use the LABELREQUIRES
> functionnality to be able to set the annotation visibility for several
> layers at once.
> That for we wanted to use a empty layer which purpose is to be set to
> ON/OFF, in order to force the labelling of the other layer.
>
> But, as in a 4.2.2 version of Mapserver, the label required layer
> doesn't not need any data object, in the last 4.4.1 version, it cannot
> be empty. DATA must be set otherwise the labelrequires operates like
> the required layer status was set to OFF all the time.
>
> note : an alternative consists to give a empty dataset (empty shapfile).
>
> Can this be reported as a bug, is this a wanted feature ?
>
> Pierre GIRAUD
> camptocamp.com
>
More information about the MapServer-users
mailing list