[Mapserver-users] SWF Output formatoption Single vs Multiple

Geoffrey Rowland geoffrey.rowland at noaa.gov
Thu Sep 4 07:42:18 PDT 2003


Hello,

In my .map file, if have the FORMATOPTION "OUTPUT_MOVIE=MULTIPLE", my 
php script generates the SWF correctly.  However if I change MULTIPLE to 
SINGLE, then I get a Fatal Error saying it failed writing the image.  Am 
I missing something?

OUTPUTFORMAT
        NAME swf
        MIMETYPE "application/x-shockwave-flash"
        DRIVER swf
        IMAGEMODE PC256
        FORMATOPTION "OUTPUT_MOVIE=SINGLE"
      END




         
         $map_path="d:/inet/site/pop/";
         $map = ms_newMapObj($map_path."swf_pop.map");
         $map->selectOutputFormat("SWF");
         $image=$map->draw();
         $image_url=$image->saveWebImage();




More information about the MapServer-users mailing list