Ticket #1377 (new enhancement)
expand variable substition to LABELITEM
| Reported by: | bugzilla@… | Owned by: | sdlime |
|---|---|---|---|
| Priority: | low | Milestone: | 6.0 release |
| Component: | MapServer CGI | Version: | 4.6 |
| Severity: | minor | Keywords: | |
| Cc: |
Description (last modified by sdlime) (diff)
Hi, we need to label a map using different fields of a DBF. We have patched mapserver to allow variable substitution on LABELITEM tag, and i think it may be usefull for others. I suggest to add this feature to next version of mapserver. Regards. 281a282 > if(map->layers[j].labelitem && (strstr(map->layers[j].labelitem, tmpstr) != NULL)) map->layers[j].labelitem = gsub(map->layers[j].labelitem, tmpstr, msObj->request->ParamValues[i]);
Change History
Note: See
TracTickets for help on using
tickets.
