[mapserver-users] Using TrueType font as a symbol - PHP/Mapscript
Van Ulden, Joost
jvanulde at NRCan.gc.ca
Mon Jun 3 11:21:31 PDT 2002
Hello all,
We are trying to use a truetype font symbol for point locations on our map.
We cannot get php/mapscript to generate a map for us. We suspect that it
map have something to do with the font and or the way we have authored the
mapfile. Below is the relevant details. Any suggestions would be helpful.
Font file 'fonts/fonts.txt' contents:
greenmap greemi__.ttf
Error when php tries to process mapfile:
Warning: MapServer Error in getSymbol(): (NAME):(
Mapfile snippet:
FONTSET fonts/fonts.txt
LAYER
NAME stories
METADATA
"DESCRIPTION" "Local Stories"
"RESULT_FIELDS" "STORY_ID"
END
TYPE POINT
STATUS DEFAULT
TOLERANCE 10
TOLERANCEUNITS pixels
CLASS
NAME "Icon_id"
TEMPLATE void
SYMBOL
NAME 'greemi'
TYPE TRUETYPE
FONT greenmap
FILLED false
ANTIALIAS true
CHARACTER "o"
END
SIZE 6
COLOR 0 0 0
END
END
Joost van Ulden
Data Integration Specialist
GSC-Pacific Division
101-605 Robson St.
Vancouver, BC V6B 5J3
604.666.7525
jvanulde at nrcan.gc.ca
More information about the MapServer-users
mailing list