<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mapserver is only requested as wms, so no mode=map or mode=browse is
used. <br>
Is it possible to somehow implement mode=browse or mode=map with a wms
server?<br>
<br>
And if this results in the images being written to disk; is there
script available to transfer the request to a image that is allready on
disk?<br>
<br>
my webserver had perl, python and asp.net a scripting languages
available, so preferably a script would be in one of these languages.<br>
<br>
Any commercial suggestions would also be appreciated.<br>
<br>
Fawcett, David schreef:
<blockquote
 cite="mid:6246727221874A4FB8D3F9BBC37D9BD5021FB903@s-sp22.pca.state.mn.us"
 type="cite">
  <pre wrap="">As Richard said, if you are using cgi with mode=map, no image is written
to disk, it is just streamed to the client.  

If you are using cgi in mode=browse, the default mode, you will write
images to the temp folder. 

David.

-----Original Message-----
From: UMN MapServer Users List [<a class="moz-txt-link-freetext" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</a>] On
Behalf Of Richard Duivenvoorde
Sent: Wednesday, December 05, 2007 5:16 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a>
Subject: Re: [UMN_MAPSERVER-USERS] temp directory remain empty


Hi Milo,
it depends how you use mapserver:
- as a cgi
- using mapserver/php script (mapscript)

Using it as a cgi (as you do), there will be no temporary images: upon 
creating the map-image the image is streamed to the client. Using
mapscript, mapscript generates an image and a page in which there 
is an url to THIS image. This url is unique on every request: no caching

either.

Caching is rather difficult with current clients: every url/bbox is 
almost unique.
IF the extent, and everything is always the same (as you say), you could

try to arrange something with a webproxy/cache (in front of mapserver), 
this will then serve a cached version of your image. But this has not 
something to do with mapserver(s temp directory).
OR you should use a tiling server, and a client which can use that. With

tiles your are caching.

Gr Richard Duivenvoorde


Milo van der Linden wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello list,

My mapserver is not running optimal.

I serve a global bathymetry raster and the maps that users request are
always based upon a fixed extent (country boundaries)
- Somehow nothing happens in my map-temp directory, I see no temp
    </pre>
  </blockquote>
  <pre wrap=""><!---->files 
  </pre>
  <blockquote type="cite">
    <pre wrap="">appear.
- If I manage to get temp files into my map-temp, will mapserver use 
them as cache?
- Are there other ways to set up caching with mapservers?

Any tip at all will be highly appreciated.

Kind regards,

Milo van der Linden
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
        background-color: #FFFFFF;
        margin-left: 5px;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
}
body,td,th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
  <tbody>
    <tr>
      <td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
      </td>
      <td colspan="2" align="left" height="78" valign="top" width="0">
      <p class="style4">Milo van der Linden
      <br>
      <a href="skype:milovanderlinden?add">skype: milovanderlinden</a><br>
      <a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
      <a href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
      <a href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
      <a href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
      </p>
      </td>
      <td rowspan="3" align="left" height="0" valign="top" width="15">&nbsp;</td>
      <td valign="top" width="300">
      <p class="style5"><span lang="NL">De informatie in dit bericht
reflecteert mijn persoonlijke mening en niet die van een bedrijf of
instantie. Aan de informatie kunnen geen rechten worden ontleend.
Indien dit bericht onderdeel is van een forum, mailing-list of
community dan gelden automatisch de bij het betreffende medium
behorende voorwaarden.</span>
      <span lang="EN">The information in this message reflects my
personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.</span></p>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>