[Mapserver-users] making the demo work with non-gif GD libs

richard hornsby rhornsby at io.osuedc.org
Mon Jan 6 09:03:51 EST 2003


I think I'm running with GD libs somewhere around 1.8, but the point being
that they don't support GIF rendering, because of the patent issues, etc.
However, when running the mapserv demo, I wasn't getting errors
specifically related to GD - instead I was getting things like:

 msLoadMap(): General error message. Undefined symbol "symbols/ctyhwy.gif"
 in class 0 of layer ctyrdln3_anno.

The "symbol" exists in the directory that it should.  The docs suggest to
comment out large sections of your .map file.  However, I converted the
.gif symbols and 'reference.gif' to pngs, and changed the references in
demo.map to png, it works happily.

Slightly off-topic, for larger projects which need this kind of
conversion, you can certainly use sed on the .map file, but does anyone
know of tools to convert images between formats quickly (ala sox)?

thanks
-rj

--
Information Center, n.:
        A room staffed by professional computer people whose job it is to
        tell you why you cannot have the information you require.

rj hornsby . systems engineer . www.osuedc.org
human and community resource development
p 614 688 8761 . f 614 688 8762







More information about the mapserver-users mailing list