[mapserver-users] Multi-layer output issue
Asad Ullah
Asad.Ullah at sigmaspace.com
Mon Nov 7 13:53:32 PST 2011
Dear List,
I have an issue with getting a composite map of a number of layers. As you see it only return the top layer whereas it should show layers selected (see the URL below). Any help would really be appreciated.
My url is something like:
http://lance2.modaps.eosdis.nasa.gov/cgi-bin/mapserv.cgi?map=usecase_all_download_20111102.map&LAYERS=Terra250+Terra_snow_cover+fires24+Admin_Bound&mode=map&imgext=-94.4722+28.7876+-88.6714+33.2041&mapext=-94.4722+28.7876+-88.6714+33.2041&map_size=2640.327719617658+2010.2412380518867&imgx=2640.327719617658&imgy=2010.2412380518867&imgxy=2640.327719617658+2010.2412380518867&map_imagetype=JPEG
and my part of mapfile is:
MAP
NAME "usecase"
UNITS dd
MAXSIZE 20000
SIZE 1600 1200
IMAGECOLOR -1 -1 -1
IMAGETYPE "AGG"
SHAPEPATH "/MODAPSweb"
PROJECTION
"init=epsg:4326"
END
EXTENT -178.00 -80.00 183.00 80.00
WEB
IMAGEPATH "/MODAPSweb/www/wms/tmp/"
IMAGEURL "/tmp/"
END
LAYER
NAME "Terra250"
TYPE RASTER
STATUS ON
OFFSITE 0 0 0
PROJECTION
"init=epsg:4326"
END
DATA "share/vrtfile/terr_250m_2011306.vrt"
CLASS
STYLE
BACKGROUNDCOLOR 255 255 255
END
END
END
LAYER
NAME "Admin_Bound"
TYPE LINE
STATUS ON
PROJECTION
"init=epsg:4326"
END
DATA "share/vrtfile/esri-administrative-boundaries_level-1"
CLASS
STYLE
COLOR 0 0 0
WIDTH 0.5
END
END
END
LAYER
NAME "Terra_snow_cover"
TYPE RASTER
STATUS ON
OFFSITE 0 0 0
PROJECTION
"init=epsg:4326"
END
DATA "share/vrtfile/MOR10FSCLLDY_2011306.vrt"
VALIDATION
'DATA' '^MOR10FSCLLDY_.*\.vrt$'
END
CLASS
STYLE
BACKGROUNDCOLOR -1 -1 -1
END END
END
LAYER
NAME "fires24"
TYPE RASTER
STATUS ON
TRANSPARENCY 100
OFFSITE 255 255 255
CONNECTION "http://firefly.geog.umd.edu/wms/wms?"
CONNECTIONTYPE WMS
METADATA
"wms_title" "Fires - Past 24 hours"
"wms_name" "fires24"
"wms_onlineresource" "http://firefly.geog.umd.edu/wms/wms?"
"wms_srs" "EPSG:4326"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
END
PROJECTION
"init=epsg:4326"
END
END
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGBA
EXTENSION "png"
TRANSPARENT ON
END
OUTPUTFORMAT
NAME "agg"
DRIVER AGG/PNG
MIMETYPE "image/png"
IMAGEMODE RGBA
END
OUTPUTFORMAT
NAME 'AGG'
DRIVER "AGG/jpeg"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END
END
Thanks,
Asad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111107/334883ca/attachment.htm>
More information about the MapServer-users
mailing list