[mapserver-users] annotation problem
Patricio Gigoux
pgigoux at munistgo.cl
Thu May 23 07:19:07 PDT 2002
hi:
I have:
./mapserv -v
MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE
and in map file
LAYER
NAME nomc
MAXSCALE 600000
TYPE ANNOTATION
STATUS ON
DATA nive1_ejes #text-calle
LABELITEM "Nom_siu"
CLASSITEM 'nom_siu'
CLASS
EXPRESSION /./
COLOR -1 -1 -1
LABEL
COLOR 0 0 0
ANGLE AUTO
BUFFER 2
FONT "ARIAL"
MAXSIZE 16
MINDISTANCE 300
MINSIZE 6
# PARTIALS TRUE
SIZE 10
TYPE TRUETYPE
# TYPE BITMAP
# SIZE SMALL
POSITION CC
PARTIALS FALSE
END
END
HEADER "ejes_header.html"
FOOTER "ejes_footer.html"
TOLERANCE 5
END # streams
The idea is, annotation display in the same direction than line, but I get:
Warning: MapServer Error in msGetLabelSize(): Requested font (ARIAL) not
found. in /www/htdocs/com/plano1_r.php on line 341
Fatal error: Call to a member function on a non-object in
/www/htdocs/com/plano1_r.php on line 342
Do you know what is my wrong?
thanks in advance
Patricio
More information about the MapServer-users
mailing list