List, I am trying to override virtual raster (.vrt) file defined in mapfile with a different one from a list of vrt files. I am using Opnelayers and Mapserver 5.6.6 to create map. In Openlayers, I have tried:
var Terra250tif = new OpenLayers.Layer.MapServer( "Terra250m_bands1-4-3", "http://192.225.64.118/cgi-bin/mapserv?", { layers:"Terra250tif","map.layer[Terra250tif]":"DATA terr_ndvi.vrt", map: '/usr/local/apache/htdocs/mapfiles/rrglobal_terra_250m_2011052jpg.map' }, {singleTile:false}); The relevant part of the mapfile is: LAYER NAME "Terra250_367jpg" TYPE RASTER STATUS DEFAULT OFFSITE 0 0 0 PROJECTION "init=epsg:4326" END DATA "terr_250m_2011052jpg.vrt" CLASS STYLE BACKGROUNDCOLOR 255 255 255 END END END I looked at "mapserver.osgeo.org/cgi/controls.html....." but that did not helped. So, could anyone help with this. Thanks, Asad
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users