Opened 23 years ago
Last modified 15 years ago
#26 new defect
[OGR] Legend keys are blank when using STYLEITEM AUTO — at Version 4
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | OGR Support | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description (last modified by )
Reported by Matt Wilkie: > Bug: > > I notice when zooming in that the legend entries sometimes have > blank keys. At first I though that might be because the feature > is not visible in the viewable area. However zooming in excessively > proves that not to be the case. > > It doesn't happen with the other two tab demos, maybe because > they use fewer tab files. >
Change History (4)
comment:2 by , 21 years ago
Summary: | Legend keys are blank when using STYLEITEM AUTO → [OGR] Legend keys are blank when using STYLEITEM AUTO |
---|---|
Version: | 3.5 → 3.7 |
Excerpt from a mapserver-users thread about this on 2003-01-03: Oliver Wesp wrote: > > I'm somwhat new to using MapInfo TABs with MapServer. So far I got > everything up and running. My TABs contain different styles so I'm using > StyleItem 'AUTO' to render these layers. Works fine except for the > legend. I like every class to appear on the legend. Is this possible? An > empty class section doesn't appear in the legend (lack of name-item). > If I add NAME to my class section one class appears in the legend and > is randomly rendered with different styles due to the displayed features > when I zoom into the map. Daniel Morissette wrote: > > ... > > I guess we could also modify MapServer so that if you define CLASS > parameters (colors, etc.) in your layer then those parameters are saved > and used for the legend icons instead of the current behavior where > whatever you set in the CLASS object with STYLEITEM AUTO is simply > ignored and the style of the last object takes precedence. >
comment:4 by , 17 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 5.2 release |
Note:
See TracTickets
for help on using tickets.