inline FONTSET ? (and/or SYMBOLSET and/or PALETTE)

rich.fromm nospam420 at YAHOO.COM
Fri Dec 21 15:09:48 PST 2007


I have a FONTSET declaration within the MAP object in my *.map file, like so:

MAP
    # relative paths work okay here
    FONTSET     "./fonts.list"

But I'm only using a single TrueType font (in various sizes), so my
fonts.list
only contains a single entry:

verdana                 verdana.ttf

Is it possible to somehow inline this, or entirely remove the level of
indirection and have the font directly specified instead of how it's done
now?

MAP
    LAYER
        CLASS
            LABEL
                TYPE    TRUETYPE
                FONT    verdana

A similar question applies to SYMBOLSET and to FORMATOPTION for the PALETTE
within the OUTPUTFORMAT.  These both point to other files that do have a
little bit more information in them:

MAP
    # relative paths work okay here too
    SYMBOLSET  "./zoom-all.sym"

MAP
    OUTPUTFORMAT
        FORMATOPTION
"PALETTE=/ext/home/rich/wrk/mapserver/navteq-test/zoom-all.palette"

Nevertheless, if this information could be inlined, then a single *.map file
could describe the entire configuration, rather than the 4 files currently
(*.map, fonts list, symbol file, and palette).

- Rich

-- 
View this message in context: http://www.nabble.com/inline-FONTSET---%28and-or-SYMBOLSET-and-or-PALETTE%29-tp14464040p14464040.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list