AW: [Mapserver-users] scaling labels

Spalting, Hermann Kreis Lippe H.Spalting at lippe.de
Wed Nov 5 02:00:50 EST 2003


Hi,
the use of SYMBOLSCALE,MINSIZE and MAXSIZE has no effect. I tryed to use
truetype Fonds but had problems with it. Here is a part of the map-file.
Maybe i did not understand the real meaning of SYMBOLSCALE,MINSIZE and
MAXSIZE.


LAYER
  NAME 'Beschriftung'
  GROUP 'Beschriftung'
  DATA 'D:/Inetpub/www100UMNMapServer/daten/Kalletal_1/shape/O_m_schrift'
  STATUS default
  TYPE ANNOTATION
  CLASSITEM 'Id'
  LABELITEM 'Z9pt'
  LABELCACHE OFF
#  LABELMAXSCALE 30000
  SYMBOLSCALE 5000
  CLASS # Beschr class
    COLOR -1 -1 -1
    LABEL
      POSITION UC
      OFFSET 0 3
      COLOR 0 0 0
#     TYPE TRUETYPE
#     FONT "arial"
      SIZE MEDIUM
      MINSIZE 5
      MAXSIZE 255
    END # end of label
  END # end of class object
END  # END OF LAYERFILE


-----Ursprüngliche Nachricht-----
Von: Michael Schulz [mailto:mschulz at webgis.de]
Gesendet: Dienstag, 4. November 2003 10:25
An: Spalting, Hermann (Kreis Lippe)
Cc: 'mapserver-users at lists.gis.umn.edu'
Betreff: Re: [Mapserver-users] scaling labels


Hello,

scaling of symbols and labels is done using SYMBOLSCALE on the layerobj
together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to 
limit dynamic sizing between these values.

Not 100% sure, but i don't think Truetype is required.

More information: 
http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer

Cheers und Grüße,
Michael


Spalting, Hermann (Kreis Lippe) schrieb:

> I want my labels to be scaled like in a photocopy. Becomming bigger and 
> bigger when zooming in.
> How does that work? Are truetypes required?
> 
> Hermann Spalting
> Kreis Lippe
> FG 4.4
> Felix-Fechenbach-Straße 5
> 32756 Detmold
> email: <<mailto:h.spalting at lippe.de>>
> Tel: 05231/62-625 (oder -7827)
> 
>  

-- 
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                 Informationstechnologie mbH
                                      In den Weihermatten 66
		                             79108 Freiburg
                                      0761 55695-95 (Fax 96)
mschulz at webgis.de              www.webgis.de/www.zopecms.de




More information about the mapserver-users mailing list