[Mapserver-users] Where are legend, reference and .qy images stored?

Richard Greenwood rich at greenwoodmap.com
Sun Apr 6 16:26:59 PDT 2003


--=======478445B=======
Content-Type: text/plain; x-avg-checked=avg-ok-76B941F0; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

The images for the map, reference map, legend, and query files will all be 
saved to the IMAGEPATH directory, which is relative to the .map file. So in 
your case it looks like your map file is in /var/www/html/tutorial35 and 
../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to 
/var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try 
seleting everything in both /var/tmp/ and  /var/www/html/tmp and then hit 
mapserver and see where the images files appear, because what you describe 
below does not quite make sense.

Rich

At 06:02 PM 4/6/2003 -0500, you wrote:

>Hello all.
>
>I wrote yesterday regarding a problem with my legends and reference images
>not showing up.  Does MapServer (3.7) store all generated images in the the
>same tmp directory.  I am testing out the Tutorial35 demo app and it is
>located at /var/www/html/tutorial35.  I have a tmp directory
>/var/www/html/tmp where only the map png files are showing up.  I was trying
>out the cashed query and discovered that the legend, reference and *.qy
>files where being stored in /var/tmp.
>
>Where in the map file does the directory for the legend, reference and .qy
>files get set?  If MapServer is smart enough to store these files there why
>isn't it smart enough to download them from there as well?
>
>A snippet of the map file follows:
>
>NAME S3EX4
>EXTENT -97.5 41.619778 -82.122902 49.38562
>SIZE 400 300
>SHAPEPATH "../data"
>FONTSET "../fonts/fonts.list"
>SYMBOLSET "../symbols/symbols35.sym"
>
>WEB
>   HEADER header.html
>   TEMPLATE s3ex4.html
>   FOOTER footer.html
>   IMAGEPATH "../../tmp/"
>   IMAGEURL "/tmp/"
>   LOG /var/www/html/mapserver.log
>END
>
>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but
>not the legend, reference ro .qy files.
>
>Any ideas what I am doing wrong?
>
>Paul Peterson
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

Richard W. Greenwood, PLS
(307) 733-0203
Rich at GreenwoodMap.com
www.GreenwoodMap.com 

--=======478445B=======--




More information about the MapServer-users mailing list