You need to log in before you can comment on or make changes to this bug.
Ok, If the user sets the Label item in the classifer for a Layer. Then does NOT set a font in the preview you see "X". Then when the user applied the class to map. An SLD default Font Style is applied to the map. The problem is that the preview does not show this default font type once it has been applied. I am not sure if this preview is to late? Maybe the default Font Preview should be set once the user defines a Label item. What do you like?
I'll take a look at this one.
fixed.
I am a little confused about this. Can you have a layer with a class with no font and have a second class with a set font? IF the answer is "YES". We have a problem. Any suggestions to fixing this? If the answer is "NO" than we still have a problem in that I produced the following error when I wanted to change the font type to true type: Warning: [MapServer Error]: getString(): Parsing error near (MAXSIZE):(line 104) in C:\ms4w\apps\_cvsdev\chameleon\htdocs\common\wrapper\map_session.php on line 221 Warning: Failed to open map file /ms4w/tmp/sess_403bd451f1b4e/1077663453-1199.map in C:\ms4w\apps\_cvsdev\chameleon\htdocs\common\wrapper\map_session.php on line 221 ERROR: moSLDSession has layers! Fatal error: Call to a member function on a non-object in C:\ms4w\apps\_cvsdev\studio\htdocs\widgets\SLDCache.widget.php on line 247
Sorry to bug you guys but can some one answer my last comment. It is effecting my tests. As a recall before this enhancement I was able to have the set to no font on one class and have a font style on an other class. But not anymore :) Thanks
if labelitem is set then every class has a label.
if this is the case for sld how come I was able to set one class if label and one without, before this was defined? I mapserver you are able to do this. meaning you don't have to have a label object in every class.
this is a design flaw in sect that I should deal with. It should be possible to set the label for a class to none. This is supported in mapserver and SLD so it should be possible in sect.
Maybe if we set the face to none then we could use that as an indicator as to whether we create a lable object in the mapfile or not.. just an idea