<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000>Eric,</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000></FONT>&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000>that was very timely as I was going to ask that question.&nbsp; I've added the info, but I'm getting a javascript error.</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000></FONT>&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Line: 518<BR>Char: 54<BR>Error: 'this.center' is null or not an object</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Now I've set:</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var lat = 596558; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var lon = 4195115;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var zoom = 6;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">and I'm using:</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000></FONT>&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map.addControl(new OpenLayers.Control.LayerSwitcher());</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">my lat/long is the UTM coords which I believe i can use in this situation.&nbsp; I'm guessing though something still isn't right with those number.&nbsp; I've looked at OpenLayers.js to see what is happening there, but I've got no real good idea.</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">I'm sure this is just basic JavaScript questions, but I've been living in a .NET world too long.&nbsp; ;)</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Thanks for your help guys!</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">David</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New" color=#000000>-----Original Message-----<BR>From: users-bounces@openlayers.org [mailto:users-bounces@openlayers.org] On Behalf Of Eric Lemoine<BR>Sent: Friday, November 09, 2007 12:46 PM<BR>To: Richard Duivenvoorde<BR>Cc: users@openlayers.org<BR>Subject: Re: [OpenLayers-Users] Getting up and running with OpenLayers</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Courier New" color=#000000>&nbsp;</FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">In addition to what Richard said you will also need to call<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">map.setCenter() or map.zoomToMaxExtent() to actually see something on<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">the map. Take a look at the wms example<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">(&lt;http://www.openlayers.org/dev/examples/wms.html&gt;). Good luck.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Courier New" color=#000000>&nbsp;</FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">--<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">Eric<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Courier New" color=#000000>&nbsp;</FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">On Nov 9, 2007 6:13 PM, Richard Duivenvoorde &lt;rdmailings@duif.net&gt; wrote:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; Hi David,<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; the error you see is because openlayers is asking for a layer in the<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; epsg:4326 (default latlon) projection.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; You can do two things:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; - either add EPSG:4326 to your WMS_SRS "EPSG:32616" line in the WEB part<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; of your mapserver map file<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; if your mapserver and proj lib are ok, this will make mapserver project<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; your 32616 data to 4326 and you will see latlon projected maps in OL.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; But probably you want to see 32616 projected maps, you can do that by<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; telling OL that the Map's projection is 32616: something like this:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; map = new OpenLayers.Map('map',<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>{<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>'projection':'EPSG:32616',<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>'units':'m',<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>'maxExtent':new OpenLayers.Bounds(582919,4182989,610195,4207241),<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>});<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; hope this helps something.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; grtz,<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; Richard Duivenvoorde<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; ps have also a look at<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; http://www.openlayers.org/dev/examples/projected-map.html<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; drk mattr wrote:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; I've been reading about OpenLayers on James Fee's blog and I'm really<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; interested in working with it.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I'm a long time ArcIMS developer so the<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; concepts here are close to what I'm used to using (well I'm not used to<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; using JavaScript which is my problem).<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; I've got a mapfile up and running.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; MAP<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>NAME Installation<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SIZE 800 500<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IMAGECOLOR 240 240 240<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>EXTENT 582919.88200 4182989.235900 610195.822000 4207241.321900<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>UNITS METERS<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>PROJECTION<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>"init=EPSG:32616"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WEB<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IMAGEPATH "/ms4w/tmp/ms_tmp/"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IMAGEURL "/ms_tmp/"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>METADATA<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WMS_TITLE "WMS Test"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WMS_ABSTRACT "My attempt at actually moving from ArcIMS to WMS"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WMS_ACCESSCONSTRAINTS "none"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WMS_ONLINERESOURCE "http://localhost:8080/test/test.html"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>WMS_SRS "EPSG:32616"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>LAYER<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>NAME "Installation"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>TYPE POLYGON<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>STATUS DEFAULT<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>DATA "Installation_Area.shp"<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>CLASS<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>NAME 'Installation'<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>OUTLINECOLOR 60 60 60<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>COLOR 255 255 0<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>SYMBOL 0<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; END<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Which returns a simple map when I test it:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; _http://localhost:8080/cgi-bin/mapserv.exe?MAP=/ms4w/apache/htdocs/test/test.map&amp;mode=map_<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; &lt;http://localhost:8080/cgi-bin/mapserv.exe?MAP=/ms4w/apache/htdocs/test/test.map&amp;mode=map&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Now, I've decided to try OpenLayers and this is my code which I borrowed<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; from one of the examples:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>&lt;head&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;style type="text/css"&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>#map {<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>width: 800px;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>height: 475px;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>border: 1px solid black;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/style&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;script src="OpenLayers.js"&gt;&lt;/script&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;script type="text/javascript"&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>function init(){<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map = new OpenLayers.Map( 'map' );<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; "http://localhost:8080/cgi-bin/mapserv.exe?MAP=/ms4w/apache/htdocs/test/test.map",<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; {layers: 'Installation'} );<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>map.addLayer(layer);<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/script&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>&lt;/head&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>&lt;body onload="init()"&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;div id="map"&gt;&lt;/div&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>&lt;/body&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; &lt;/html&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; When I run it, I get a tiles which say:<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; msWMSLoadGetMapParams():<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>WMS server error. Invalid SRS given : SRS must<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; be valid for all requested layers.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Now I looked at the doc and it seems like you can set the projection<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; which I tried, but it still returned the same error.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I'm sure I'm<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; close, but I'm just a little out of my league right now with openlayers.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Any help would be greatly appreciated.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; David.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; ------------------------------------------------------------------------<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Peek-a-boo FREE Tricks &amp; Treats for You! Get 'em!<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; &lt;http://www.reallivemoms.com?ocid=TXT_TAGHM&amp;loc=us&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; ------------------------------------------------------------------------<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; _______________________________________________<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Users mailing list<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; Users@openlayers.org<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; &gt; http://openlayers.org/mailman/listinfo/users<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; _______________________________________________<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; Users mailing list<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; Users@openlayers.org<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt; http://openlayers.org/mailman/listinfo/users<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">&gt;<o:p>&nbsp;</o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">_______________________________________________<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">Users mailing list<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">Users@openlayers.org<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT color=#000000><FONT face="Courier New">http://openlayers.org/mailman/listinfo/users<o:p></o:p></FONT></FONT></P><br /><hr />Help yourself to FREE treats served up daily at the Messenger Café. <a href='http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline' target='_new'>Stop by today!</a></body>
</html>