Summary: | [SECTStudio-Classifier] Default Font Preview when applying to map | ||
---|---|---|---|
Product: | MapLab | Reporter: | Chris Thorne <cthorne@dmsolutions.ca> |
Component: | SECT (Studio) | Assignee: | Paul Spencer <pspencer@dmsolutions.ca> |
Status: | ASSIGNED | ||
Severity: | major | CC: | maplab-dev@lists.maptools.org |
Priority: | P2 | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
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