<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ive implemented your changes but im still getting the msWMSLoadGetMapParams(): WMS Server Error message repeatedly thorughout the open layers map window.<BR>
&nbsp;<BR>
My map file now looks like this (i have hihglighted your changes in bold), do you think i have put them in correclty? <BR>
&nbsp;<BR>
Cheers<BR>
&nbsp;<BR>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman">MAP<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>NAME UK1<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>SIZE 1600 1200<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>IMAGECOLOR<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>153 204 255<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>IMAGETYPE JPEG<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>SHAPEPATH "http://localhost/openlayers/data/"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>EXTENT<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-888385.321101 -31000.000000 1548385.321101 1271000.000000<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>UNITS METERS<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WEB<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>TEMPLATE "http://localhost/openlayers/examples/test.html"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>LOG "\ms4w\tmp\ms_tmp\log.txt"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IMAGEPATH "\ms4w\tmp\ms_tmp\"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IMAGEURL "/ms_tmp/"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>METADATA<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><B style="mso-bidi-font-weight: normal">'wms_srs' "EPSG:32119 EPSG:4326"<o:p></o:p></B></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>LAYER<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>NAME "<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:country-region w:st="on"><st1:place w:st="on">UK</st1:place></st1:country-region>"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>STATUS DEFAULT<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>TYPE raster<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>TILEINDEX "map"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>TILEITEM "Location"<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>CLASS<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>STYLE<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>COLOR 0 0 0<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>LABEL<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>COLOR 0 0 0<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SIZE SMALL<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><B style="mso-bidi-font-weight: normal">PROJECTION<o:p></o:p></B></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>"init=epsg:28992"<o:p></o:p></FONT></FONT></FONT></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>END<o:p></o:p></FONT></FONT></FONT></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman">END<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3></FONT></o:p>&nbsp;</P><o:p>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman">&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;head&gt;MAPPING TEST<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;style type="text/css"&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>#map {<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>width: 90%;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>height: 90%;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>border: 8px solid black;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;/style&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;script src="../lib/OpenLayers.js"&gt;&lt;/script&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;script type="text/javascript"&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>var zoom = 1;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>var bounds = new OpenLayers.Bounds(-888385.321101, -31000.000000, 1548385.321101, 1271000.000000);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>var map, layer;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>function init(){<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map = new OpenLayers.Map('map', { maxExtent: bounds });<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.addControl(new OpenLayers.Control.PanZoomBar());<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.addControl(new OpenLayers.Control.OverviewMap());<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.addControl(new OpenLayers.Control.MousePosition());<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", <o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>"http://127.0.0.1/cgi-bin/mapserv.exe?", { layers: 'basic', map: '/ms4w/apps/openlayers-2.5/data/uk1.map', projection: <B style="mso-bidi-font-weight: normal">"EPSG:32119"</B> },<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{ gutter: 15 });<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.addLayer(layer);<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.zoomToExtent(bounds);<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;/script&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/head&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;body onload="init()"&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;div id="map"&gt;&lt;/div&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/body&gt;<o:p></o:p></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" color=#000000 size=3>&lt;/html&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"></o:p>&nbsp;</P>
<BR>&nbsp;<BR>&gt; Date: Fri, 17 Jul 2009 15:29:03 +0200<BR>&gt; Subject: RE: [mapserver-users] Changing to Layers.WMS from Layers.Mapserver<BR>&gt; From: bartvde@osgis.nl<BR>&gt; To: paul_everton@hotmail.com<BR>&gt; CC: mapserver-users@lists.osgeo.org<BR>&gt; <BR>&gt; Almost,<BR>&gt; <BR>&gt; PROJECTION<BR>&gt; "init=epsg:28992"<BR>&gt; END<BR>&gt; <BR>&gt; Best regards,<BR>&gt; Bart<BR>&gt; <BR>&gt; &gt;<BR>&gt; &gt; Thanks for the quick reply.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; You mentioned adding a projection block to the layer.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Is that done by the following:<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; PROJECTION<BR>&gt; &gt;<BR>&gt; &gt; "epsg:32119"<BR>&gt; &gt;<BR>&gt; &gt; END<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Thanks again<BR>&gt; &gt;<BR>&gt; &gt;&gt; Date: Fri, 17 Jul 2009 13:22:04 +0200<BR>&gt; &gt;&gt; Subject: Re: [mapserver-users] Changing to Layers.WMS from<BR>&gt; &gt;&gt; Layers.Mapserver<BR>&gt; &gt;&gt; From: bartvde@osgis.nl<BR>&gt; &gt;&gt; To: paul_everton@hotmail.com<BR>&gt; &gt;&gt; CC: mapserver-users@lists.osgeo.org<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi,<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; there are several things wrong here.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 'wms_srs' "epsg: 32119 epsg: 4326"<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; should be (uppercase EPSG for METADATA and no space in between):<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 'wms_srs' "EPSG:32119 EPSG:4326"<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; however Mapserver cannot reproject your data if you do not add a<BR>&gt; &gt;&gt; PROJECTION block to your LAYER stating the projection in which your data<BR>&gt; &gt;&gt; resides.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Also, in OpenLayers the syntax is (your map can only be in 1<BR>&gt; &gt;&gt; projection):<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; {projection: "EPSG:32119"}<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Best regards,<BR>&gt; &gt;&gt; Bart<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Hi, i am having trouble trying to display my map in Open Layers via<BR>&gt; &gt;&gt; &gt; OpenLayers.Layer.wms.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Firstly I Built a shape file of the UK as a raster tileindex. I can<BR>&gt; &gt;&gt; now<BR>&gt; &gt;&gt; &gt; view my map via "//localhost/cgi-bin/mapserv.exe/mymapfile.map" and<BR>&gt; &gt;&gt; the<BR>&gt; &gt;&gt; &gt; map looks fine.<BR>&gt; &gt;&gt; &gt; I am now trying to view my map via OpenLayers. Firstly I used<BR>&gt; &gt;&gt; &gt; Openlayers.Layer.MapServer which displayed my map however zoomed in<BR>&gt; &gt;&gt; very<BR>&gt; &gt;&gt; &gt; close. However I have read Layer.Mapserver should be avoided and<BR>&gt; &gt;&gt; Layer.WMS<BR>&gt; &gt;&gt; &gt; should be used instead.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; I attempted to amend both my map and openlayers files to display via<BR>&gt; &gt;&gt; WMS<BR>&gt; &gt;&gt; &gt; by<BR>&gt; &gt;&gt; &gt; Including:<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; METADATA<BR>&gt; &gt;&gt; &gt; ‘wms_srs’ “EPSG: 32119 EPSG: 4326”<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt; within the WEB section of my map file and adding OpenLayers.WMS within<BR>&gt; &gt;&gt; my<BR>&gt; &gt;&gt; &gt; OpenLayers file.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; However I now get the following error message within the openlayers<BR>&gt; &gt;&gt; map<BR>&gt; &gt;&gt; &gt; window “msWMSLoadGetMapParams(): WMS Server Error”<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; I also added ‘projection: "epsg: 32119 epsg:4326” into my openlayers<BR>&gt; &gt;&gt; file<BR>&gt; &gt;&gt; &gt; which hasn’t made any difference<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Does anyone have any idea where I am going wrong? Any help greatly<BR>&gt; &gt;&gt; &gt; appreciated. My map and openlayers files are below.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Cheers<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; p.s. I ahve installed ms4w on windows which i tihnk supports WMS<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; MAP<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; NAME UK1<BR>&gt; &gt;&gt; &gt; SIZE 1600 1200<BR>&gt; &gt;&gt; &gt; IMAGECOLOR 153 204 255<BR>&gt; &gt;&gt; &gt; IMAGETYPE JPEG<BR>&gt; &gt;&gt; &gt; SHAPEPATH "http://localhost/openlayers/data/"<BR>&gt; &gt;&gt; &gt; EXTENT -888385.321101 -31000.000000 1548385.321101 1271000.000000<BR>&gt; &gt;&gt; &gt; UNITS METERS<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; WEB<BR>&gt; &gt;&gt; &gt; TEMPLATE "http://localhost/openlayers/examples/test.html"<BR>&gt; &gt;&gt; &gt; LOG "\ms4w\tmp\ms_tmp\log.txt"<BR>&gt; &gt;&gt; &gt; IMAGEPATH "\ms4w\tmp\ms_tmp\"<BR>&gt; &gt;&gt; &gt; IMAGEURL "/ms_tmp/"<BR>&gt; &gt;&gt; &gt; METADATA<BR>&gt; &gt;&gt; &gt; 'wms_srs' "epsg: 32119 epsg: 4326"<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; LAYER<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; NAME "UK"<BR>&gt; &gt;&gt; &gt; STATUS DEFAULT<BR>&gt; &gt;&gt; &gt; TYPE raster<BR>&gt; &gt;&gt; &gt; TILEINDEX "map"<BR>&gt; &gt;&gt; &gt; TILEITEM "Location"<BR>&gt; &gt;&gt; &gt; CLASS<BR>&gt; &gt;&gt; &gt; STYLE<BR>&gt; &gt;&gt; &gt; COLOR 0 0 0<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt; LABEL<BR>&gt; &gt;&gt; &gt; COLOR 0 0 0<BR>&gt; &gt;&gt; &gt; SIZE SMALL<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt; END<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<BR>&gt; &gt;&gt; &gt; &lt;head&gt;MAPPING TEST<BR>&gt; &gt;&gt; &gt; &lt;style type="text/css"&gt;<BR>&gt; &gt;&gt; &gt; #map {<BR>&gt; &gt;&gt; &gt; width: 95%;<BR>&gt; &gt;&gt; &gt; height: 95%;<BR>&gt; &gt;&gt; &gt; border: 10px solid black;<BR>&gt; &gt;&gt; &gt; }<BR>&gt; &gt;&gt; &gt; &lt;/style&gt;<BR>&gt; &gt;&gt; &gt; &lt;script src="../lib/OpenLayers.js"&gt;&lt;/script&gt;<BR>&gt; &gt;&gt; &gt; &lt;script type="text/javascript"&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; var zoom = 1;<BR>&gt; &gt;&gt; &gt; var bounds = new OpenLayers.Bounds(-888385.321101, -31000.000000,<BR>&gt; &gt;&gt; &gt; 1548385.321101, 1271000.000000);<BR>&gt; &gt;&gt; &gt; var map, layer;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; function init(){<BR>&gt; &gt;&gt; &gt; map = new OpenLayers.Map('map', { maxExtent: bounds });<BR>&gt; &gt;&gt; &gt; map.addControl(new OpenLayers.Control.PanZoomBar());<BR>&gt; &gt;&gt; &gt; map.addControl(new OpenLayers.Control.OverviewMap());<BR>&gt; &gt;&gt; &gt; map.addControl(new OpenLayers.Control.MousePosition());<BR>&gt; &gt;&gt; &gt; layer = new OpenLayers.Layer.WMS ( "OpenLayers WMS",<BR>&gt; &gt;&gt; &gt; "http://127.0.0.1/cgi-bin/mapserv.exe?", { layers: 'basic', map:<BR>&gt; &gt;&gt; &gt; '/ms4w/apps/openlayers-2.5/data/uk1.map', projection: "epsg “32119<BR>&gt; &gt;&gt; &gt; epsg:4326" },<BR>&gt; &gt;&gt; &gt; { gutter: 15 });<BR>&gt; &gt;&gt; &gt; map.addLayer(layer);<BR>&gt; &gt;&gt; &gt; map.zoomToExtent(bounds);<BR>&gt; &gt;&gt; &gt; map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; }<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; &lt;/script&gt;<BR>&gt; &gt;&gt; &gt; &lt;/head&gt;<BR>&gt; &gt;&gt; &gt; &lt;body onload="init()"&gt;<BR>&gt; &gt;&gt; &gt; &lt;div id="map"&gt;&lt;/div&gt;<BR>&gt; &gt;&gt; &gt; &lt;/body&gt;<BR>&gt; &gt;&gt; &gt; &lt;/html&gt;<BR>&gt; &gt;&gt; &gt; _________________________________________________________________<BR>&gt; &gt;&gt; &gt; Share your photos with Windows Live Photos – Free.<BR>&gt; &gt;&gt; &gt; http://clk.atdmt.com/UKM/go/134665338/direct/01/_______________________________________________<BR>&gt; &gt;&gt; &gt; mapserver-users mailing list<BR>&gt; &gt;&gt; &gt; mapserver-users@lists.osgeo.org<BR>&gt; &gt;&gt; &gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt; _________________________________________________________________<BR>&gt; &gt; Share your photos with Windows Live Photos – Free.<BR>&gt; &gt; http://clk.atdmt.com/UKM/go/134665338/direct/01/_______________________________________________<BR>&gt; &gt; mapserver-users mailing list<BR>&gt; &gt; mapserver-users@lists.osgeo.org<BR>&gt; &gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users<BR>&gt; &gt;<BR>&gt; <BR>&gt; <BR><br /><hr />View your Twitter and Flickr updates from one place – <a href='http://clk.atdmt.com/UKM/go/137984870/direct/01/' target='_new'>Learn more!</a></body>
</html>