[mapserver-users] How does SYMBOLSCALEDENOM work on FONTs?

Jackey Cheung cheung.jackey at gmail.com
Fri Sep 2 06:11:48 EDT 2011


I've met a problem while playing around with SYMBOLSCALEDENOM. In
attached images, the string on the top without halo is drawn as fixed
size 10px in arial. The lower string was drawn with scaling on in
verdana. However, as you can see, the scaling seems quite awkward. It
doesn't seem to change from 1:10M ~ 1:1M, and suddenly grown to full
size on 500K.

Did I make something wrong?


LAYER
  NAME              "state"
  STATUS            default
  TYPE              polygon
  #MINSCALEDENOM     10000
  MAXSCALEDENOM     50000000
  SYMBOLSCALEDENOM  500000

  CONNECTIONTYPE    postgis
  CONNECTION        .......
  PROCESSING        "CLOSE_CONNECTION=DEFER"
  DATA              "geom FROM view_render_locality USING UNIQUE oid
USING SRID=4326"

  LABELITEM         "sname"

  CLASS
    NAME            "State/Province"
    LABEL
      ENCODING      "UTF-8"
      COLOR         0 0 0
      OUTLINECOLOR  255 255 255
      TYPE          truetype
      FONT          "verdana"
      SIZE          16
      POSITION      auto
      PARTIALS      false
      MINSIZE       8
      MAXSIZE       16
    END
  END
END
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1M.png
Type: image/png
Size: 5099 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/f49ddb74/1M-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2M.png
Type: image/png
Size: 2295 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/f49ddb74/2M-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10M.png
Type: image/png
Size: 2467 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/f49ddb74/10M-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 500K.png
Type: image/png
Size: 5117 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/f49ddb74/500K-0001.png


More information about the mapserver-users mailing list