Mapserver is only requested as wms, so no mode=map or mode=browse is used.
Is it possible to somehow implement mode=browse or mode=map with a wms server?

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?

my webserver had perl, python and asp.net a scripting languages available, so preferably a script would be in one of these languages.

Any commercial suggestions would also be appreciated.

Fawcett, David schreef:
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 [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Duivenvoorde
Sent: Wednesday, December 05, 2007 5:16 AM
To: MAPSERVER-USERS@LISTS.UMN.EDU
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:
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
files
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



--


        

Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.3dsite.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. 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.

Reply via email to