Hi All,

I am trying to get flash output from mapserver. I have compliled my mapserver 5.2.2 with flash support.
But when i request for a layer, I am getting the following error:
"loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver SWF, but this driver isn't configured. "

This is my url:
"http://localhost/cgi-bin/mapserv?MAP=flashlayer.map&TRANSPARENT=true&LAYERS=flashlayer&FORMAT=image%2Fswf&PROJECTION=EPSG%3A4326&REPROJECT=false&;
UNITS=m&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&
BBOX=4235678.0892222235,859902.5737739494,13628260.123222224,4404134.700666138&WIDTH=1920&HEIGHT=724"

Mapfile is as follows:(initial part with projection , extent etc truncated)

 OUTPUTFORMAT
   NAME "swf"
   MIMETYPE "application/x-shockwave-flash"
   DRIVER "swf"
   IMAGEMODE PC256
   FORMATOPTION "OUTPUT_MOVIE=MULTIPLE"
 END
layer
 name flashlayer
 connectiontype postgis
 connection "user= postgres dbname=flashtable host=localhost"
 type polygon
   group world
   dump true
   METADATA
     "RESULT_FIELDS" "__ibp__id"
     "SWFDUMPATTRIBUTES" "__ibp__id"
   END
   template "template.html"
   projection
     "init=epsg:4326"
   end
   transparency 65
   status on
   data "topology from flashtest using unique id using SRID = -1"
   classitem "country"
   class
       name "INDIA"
       expression "INDIA"
       style
           color 139 242 144
           outlinecolor 000 000 000
       end
   end
end

Can some one please guide me as how to get the output in flash after enabling the support?

Thanks a lot for any help.

Subha

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to