I would use shp2img to do this. It doesn't sound like you need to use the CGI because there is nothing dynamic. Could also write a simple script to do it. With shp2img or a script you have total control over the output names.
Steve (BTW the unique id is generated for sure in the CGI (mapserv.c) and perhaps MapScript has that ability, that I'm not sure about though.) >>> Malte <[EMAIL PROTECTED]> 05/09/07 9:06 AM >>> Hi, I'm building a very simple, static webpage with images (200+) generetad through mapserver. These images are not located on the same machine as they were generated - to link the images I need mapserver to write the maps with a predefined name (instead of 474d54c78eb892c470ef5e0959b056bb1178630666076768600.png). Example: 3 Layers: wood.shp,water.shp,mountain.shp (defined in Mapfile) The name of the images in the image-tmp directory created by Mapserver should be wood.png, water.png, mountain.png, so i can reference them in my static webpage. Can somebody give me a hint to solve this problem? Where is the random name generated and how to tell the mapserver to produce images with the name of the shapefile? with king regards, Malte -- View this message in context: http://www.nabble.com/changing-name-for-generated-maps-in-ms_tmp-directory-tf3715971.html#a10395010 Sent from the Mapserver - User mailing list archive at Nabble.com.
