[mapserver-users] browse mode no longer saves images?

geographika geographika at gmail.com
Tue Dec 16 05:03:25 PST 2014


Hi list,

Until now I have been using MapServer as a WMS server. I've only 
recently been trying out the CGI controls, which would be very handy for 
a reporting application.

The MapServer tutorials refer several times to saving temporary images 
using the mode=browse. At 
http://demo.mapserver.org/tutorial/section3.html the map images 
generated in these tutorials refer to image files on the web server (so 
are not generated dynamically). E.g. 
http://demo.mapserver.org/ms_tmp/EX1.9_141873269321745.png

I've tried to set this up in MapServer 6.4 without success. I've set up 
parameters in the WEB section as follows:

     WEB
         IMAGEPATH "C:/Mapserver/apps/pms/tmp"
         # Also tried "tmp/"
         IMAGEURL "tmp/"
         TEMPLATE "reports/test.html"

However no images are ever created in this folder when using a request 
such as http://localhost/mapserver/?LAYERS=mylayer&mode=browse 
<https://localhost/mapserver/?LAYERS=mylayer&mode=browse>
The template contains file names such as tmp/MyMap14187343292752.png but 
these never seem to be written to disk. How can these images be persisted?
I know I could use mode=map to generate an image, but I want to create 
legends etc. all with a single request.

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141216/ce651573/attachment.htm>


More information about the MapServer-users mailing list