AW: [Mapserver-users] scaling labels

Christina Biakowski CCGIS christina.biakowski at ccgis.de
Tue Nov 4 23:46:46 PST 2003


Hello  Hermann,
try an integer-value with SIZE - the keywords medium, small etc. only refer
to bitmap-Texts.
If this does not work either set LABELCACHE to ON.
Christina



-----Ursprüngliche Nachricht-----
Von: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Spalting,
Hermann (Kreis Lippe)
Gesendet: Mittwoch, 5. November 2003 08:01
An: Mapserver-Users (E-Mail)
Betreff: AW: [Mapserver-users] scaling labels


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list