Ticket #2804 (new defect)
named styles (rfc-39) for raster and annotation layers missing
| Reported by: | mko | Owned by: | assefa |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | MapServer C Library | Version: | 5.2 |
| Severity: | normal | Keywords: | styles, raster, rfc39 |
| Cc: | mko, jmckenna |
Description
Mapserver ignores classgroup and corresponding class/group parameters for raster layers. A url parameter &STYLES=xxx will apply to vector layers only.
Possible fix in msGetClass():
for(i=0; i<layer->numclasses; i++) {
+ if ( layer->class[i]->group && layer->classgroup && strcasecmp(layer->class[i]->group, layer->classgroup) != 0 )
+ continue;
if (layer->class[i]->expression.string == NULL) /* Empty expression - always matches */
return(i);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

