Creating a designated graphics file

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Wed Jan 4 13:03:10 PST 2006


Do you need this functionality to be available from the web? Then as Tom 
said you'll probably need Mapscript.

If you don't need it from the web, you could use shp2img and use > to 
output it to a file. Ofcourse you can write your files to a 
web-accessible directory.

shp2img -m mymap.map > c:\temp\out.png

Best regards,
Bart

Chip Taylor wrote:

>Is there a way to use MapServer CGI to output a graphics file (GIF or JPG)
>to a designated location with a designated name on a Windows/IIS server?
>For example, I'd like to be able to call  mapserver.exe and tell it to name
>the file "thismap.jpg" and create it in directory c:\wwwroot\projects\maps\
>
> 
>
>Chip Taylor
>
>Prepared Response, Inc
>
>
>  
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list