WMS Layer and Flash Output
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Mon Feb 5 06:01:44 PST 2007
Hi There,
I have tried with success the following url/map file with your layer
using latest Mapserver :
MAP
NAME "bug_swf"
EXTENT -180 -90 180 90
IMAGECOLOR 225 249 255
IMAGETYPE swf
SIZE 424 318
STATUS ON
UNITS DD
DEBUG ON
OUTPUTFORMAT
NAME swf
MIMETYPE "application/x-shockwave-flash"
DRIVER swf
FORMATOPTION "OUTPUT_MOVIE=SINGLE"
# FORMATOPTION "OUTPUT_MOVIE=MULTIPLE"
# FORMATOPTION "FULL_RESOLUTION=FALSE"
# FORMATOPTION "LOAD_AUTOMATICALLY=ON"
END
PROJECTION
"init=epsg:4326"
END
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
QUERYFORMAT text/html
LOG "/tmp/ms_debug.txt"
END
LAYER
NAME "2000 CIR"
TYPE RASTER
STATUS DEFAULT
CONNECTION
"http://www.geostor.arkansas.gov/wmsconnector/com.esri.wms.Esrimap?ServiceName=IMAGE_ORTHOS&"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326 EPSG:26915 EPSG:4267 EPSG:4269"
"wms_name" "1"
"wms_server_version" "1.1.1"
"wms_format" "image/gif"
END
END
END #map
http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/msapps/wmsclient/htdocs/bug_swf.map&mode=map
produces a swf output. Is this what you are attempting ?
Best Regards
Richie Pierce wrote:
> Hi All-
>
> I am attempting to connect to a WMS layer within my mapfile
> to use as my base Raster image. The LAYER definition works fine with an
> image as the OUTPUTFORMAT. However, if I try to output to SWF the WMS
> Raster is not showing.
>
>
>
> Here is my LAYER definition within my map file. This works fine with
> everything but SWF output. Anyone have any ideas?
>
>
>
> LAYER
>
> NAME "2000 CIR"
>
> TYPE RASTER
>
> STATUS ON
>
> CONNECTION
> "http://www.geostor.arkansas.gov/wmsconnector/com.esri.wms.Esrimap?ServiceName=IMAGE_ORTHOS&"
>
> CONNECTIONTYPE WMS
>
> METADATA
>
> "wms_srs" "EPSG:4326 EPSG:26915 EPSG:4267 EPSG:4269"
>
> "wms_name" "1"
>
> "wms_server_version" "1.1.1"
>
> "wms_format" "image/gif"
>
> END
>
> END
>
>
>
>
>
>
>
> Richie Pierce
>
> Sr GIS Analyst
>
> **a.c.t.GeoSpatial, Inc.**
>
> 2900 Percy Machin Drive, Suite One
>
> North Little Rock, AR 72114
>
> Ph(501) 771-2985
>
> rpierce at actgeospatial.com <mailto:rpierce at actgeospatial.com>
>
> www.actgeospatial.com <http://www.actgeospatial.com>
>
>
>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list