Robert, You need to set a single value in your mapfile projection block and then set the list of allowed projections in your map web metadata block.
http://mapserver.org/ogc/wms_server.html#setup-a-mapfile-for-your-wms Basically you need this part WEB ... METADATA "wms_title" "WMS Demo Server" "wms_onlineresource" "http://my.host.com/cgi-bin/mapserv?map=wms.map&" "wms_srs" "EPSG:3857 EPSG:4269 EPSG:4326" END END And note that you should use EPSG:3857 rather than 900913 (if you can). 3857 is the official code, 900913 was a hack added temporary code. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 9/25/14, 7:28 AM, "Burgholzer, Robert (DEQ)" <robert.burghol...@deq.virginia.gov> wrote: >Running afoul of projections conflict in the setup with the following >error: >"msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must >be valid for all requested layers." > >All layers in my Mapfile have an EPSG of 4326, but the base layer of my >map in Leaflet is OpenMap which I understand comes in with the google >projection 900913? > >I have done the following: >* I added the def for 900913 to the proj4 epsg file (this def was added >after compiling mapserver but can't imagine that would matter?): >/usr/share/proj/epsg >* Compiled Mapserver with proj4 enabled (--with-proj4) >* Set allowable 900913, 4326, and 4269 in my mapfile projection block >(block shown below) >* Set "debug 5" in my mapfile but received no other info about this issue >(like what proj is being requested by Leaflet) > > >Mapfile excerpts: > >PROJECTION > "init=epsg:900913" > "init=epsg:4269" > "init=epsg:4326" >END > > > >Robert Burgholzer >Surface Water Modeler >Virginia DEQ Office of Surface and Ground Water Supply >804-869-3066 > >_______________________________________________ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users