[Mapserver-users] SYMBOL definitions inside MAP file ?

Lars V. Nielsen LVN at hvm.dk
Tue Nov 4 06:40:58 PST 2003


Hello Till,

Ah, I was looking for a general answer, hence the missing code.

I managed to find the error - it wasn't the MAP file. The symbol files
referenced by the SYMBOLSET file was a correct (and different) set, which
off course worked.

Somehow all the referenced pixmap symbol files had ended up being invalid (0
bytes), which off course should provoke an error. When I solved that
problem, it all fell into place. One can indeed include symbol definitions
in the map file, and reference them by relative paths (wrt. the map file),
e.g.  IMAGE "./mySYM.gif"

Sorry about the fuss.

Best regards / Med venlig hilsen
Lars V. Nielsen
--------------------------------------------------------
Hvenegaard & Meklenborg
Rugaardsvej 55, DK-5000 Odense C
Denmark
http://www.hvm.dk
----- Original Message -----
From: "Till Adams" <adams at terrestris.de>
To: "Lars V. Nielsen" <LVN at hvm.dk>
Sent: Tuesday, November 04, 2003 1:24 PM
Subject: Re: [Mapserver-users] SYMBOL definitions inside MAP file ?


> Dear Lars,
>
> better, you put some code in your mail ...
>
> I guess that mapserv v4.0 requires full pathes for the pixmap, because
> it requires absolute pathes as well for the fontset.
>
> Are you sure you've set all
>
> SYMBOL
> <define Symbol here>
> END # SYMBOL
>
> coeeectly?
>
> Till
>
> Lars V. Nielsen schrieb:
> > Hello List,
> >
> > I'm attempting to generate and use a MAP file with embedded SYMBOL
> > definitions.
> >
> > I can't seem to make it work, it errs with a "Warning: [MapServer
Error]:
> > loadSymbol(): ..." regardless of where I put the definitions wrt. their
> > usage (before/after). It only works when I put them in a seperate file
> > (using SYMBOLSET).
> >
> > According to the docs it ought to be possible. Can anyone shed some
light on
> > this ?
> >
> >
> > I'm using PIXMAP's that are located in the same dir as the MAP file, and
> > using "./mypic.gif" as a reference to them. Is a full path reference
needed
> > ?
> >
> > Using Mapserver 4.0 on Win2000.
> >
> > Best regards / Med venlig hilsen
> > Lars V. Nielsen
> > --------------------------------------------------------
> > Hvenegaard & Meklenborg
> > Rugaardsvej 55, DK-5000 Odense C
> > Denmark
> > http://www.hvm.dk
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
>
>
> --
>
> ***** Besuchen Sie uns auf der acqua alta *****
> *****   vom 24.-27. November in München   *****
>
> -----
>
> Dipl. Geogr. Till Adams
> terrestris, Paulsen&Adams GbR
> Siemensstr. 8 * 53121 Bonn
> Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
> info at terrestris.de * www.terrestris.de
>
>
>




More information about the MapServer-users mailing list