LABELITEM Using Variable Substitution

Rafe Hargrove rafeh at DREAMSCAPEIT.COM
Wed Jan 11 14:17:06 PST 2006


I am having problems dynamically setting the column used by the LABELITEM
property.  MapServer is not substituting the parameter passed in the WMS
call.  Instead, it is using the parameter name as the column name and
MapServer returns an error stating that the columnParameter column is not
found.

The format of the LABELITEM definition is:
    LABELITEM '%columnParameter%'

I am using Windows, MapServer 4.6.1, and have been able to successfully
use variable substition with the MapServer FILTER command.

Any help would be greatly appreciated.

Thanks,
Rafe



More information about the MapServer-users mailing list