[Mapserver-users] demo problem

Edward Lee edwardlee at ttga.com.au
Mon Jul 14 18:49:58 PDT 2003


I tried it again by putting in the absolute path in demo.map, but I
still get the following error. 

msLoadMap(): General error message. Undefined symbol
"/var/www/html/itasca/symbols/ctyhwy.png" in class 0 of layer
ctyrdln3_anno

I was thinking maybe I didn't install libpng properly so it doesn't
support .png file
Is there anyway to test it? (btw, it did compile correctly with mapserv)

Edward
-----Original Message-----
From: Dylan Keon [mailto:keon at nacse.org] 
Sent: Tuesday, July 15, 2003 11:41 AM
To: Edward Lee
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] demo problem

It could be a relative path problem.  I've had trouble using relative 
paths in my symbols file, and in mapfiles.

So, in demo.map change all references from "symbols/*.png" to 
"/path/to/symbols/*.png" and see if that helps.

Has anyone else run into this?

--Dylan


Edward Lee wrote:
> Dear all
> 
> I have downloaded the updated version of mapserver demo from 
> http://maps.davisnetworks.com/projects/itasca-png.zip
> 
> Which has updated all the gif file to png, however, when I ran the
demo, 
> I still get the following error:
> 
> msLoadMap(): General error message. Undefined symbol 
> "symbols/ctyhwy.png" in class 0 of layer ctyrdln3_anno
> 
>  
> 
> I am just wondering what would be the cause of this problem. Thanks
> 
>  
> 
> Edward
> 





More information about the MapServer-users mailing list