Simple question

James Sohr jms4 at PO.CWRU.EDU
Thu Apr 21 09:51:34 EDT 2005


This is my personal opinion, but I think the best way to get rid of the
temporary images is to never create them in the first place.

You can configure the mapserver CGI executable to output just a map image
straight to the web browser (intead of it generating a temp image and
outputting an HTML file).  You can then use a plain HTML (or PHP or
whatever other language you'd like) page that wraps around the image and
is responsible only for passing paramaters to the MapServer CGI and
updating the map image.

Thus, you create no temp images, and there is no need to reload the whole
page to update the map-- you only need to reload the map image.

This is how most of the major map websites do it...




On Thu, 21 Apr 2005 15:26:58 +0200, luca marletta <lucamarle at GMAIL.COM>
wrote:

>Till now I've no experience with a real mapserver live application on
>a 24/7 server and, maybe I lost some passage, but I'm wondering if
>there is a simple and easy way to get rid of all images that fill the
>images directory.
>
>Sorry if is a very silly question but I miss this point
>
>Thanks in advance or your help
>
>luca
>--
>luca marletta  icq: 70590647



More information about the mapserver-users mailing list