<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi Victoria</DIV>
<DIV>&nbsp;</DIV>
<DIV>See if you can get a map from that source by sending a WMS GetMap request directly from the Browser. It should be in the form:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://10.64.20.120/cgi-bin/gsswms.exe?service=wms&amp;version=1.1.1&amp;request=GetMap&amp;Layers=nz1mtm,nz250ktm,crs_parcels&amp;SRS=EPSG:2193&amp;BBOX=1492434,5131045,1493434,5132045&amp;WIDTH=512&amp;HEIGHT=512&amp;FORMAT=image/png&amp;STYLES">http://10.64.20.120/cgi-bin/gsswms.exe?service=wms&amp;version=1.1.1&amp;request=GetMap&amp;Layers=nz1mtm,nz250ktm,crs_parcels&amp;SRS=EPSG:2193&amp;BBOX=1492434,5131045,1493434,5132045&amp;WIDTH=512&amp;HEIGHT=512&amp;FORMAT=image/png&amp;STYLES</A>=</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert <BR><BR>&gt;&gt;&gt; Vika &lt;Victoria.Elinson@nasa.gov&gt; 29/10/2009 9:36 a.m. &gt;&gt;&gt;<BR><BR>Hi, <BR><BR>I am very new to OL. I am trying to load Topo Map layer according to a<BR>sample usage <A href="http://trac.openlayers.org/wiki/AvailableWMSServices">http://trac.openlayers.org/wiki/AvailableWMSServices</A><BR><BR>// create map options<BR>&nbsp;&nbsp;&nbsp; var options = {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resolutions:<BR>[0.46875,0.3515625,0.17578125,0.087890625,0.0439453125],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controls: []<BR>&nbsp;&nbsp;&nbsp; };<BR><BR>var map = new OpenLayers.Map('map', options);<BR><BR>&nbsp; var drg = new OpenLayers.Layer.WMS("Topo Maps",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "http://terraservice.net/ogcmap.ashx",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {layers: "DRG"});<BR>map.addLayers([drg]);<BR><BR>However I get pink tile. The location of an image is<BR><A href="http://openlayers.org/dev/img/blank.gif">http://openlayers.org/dev/img/blank.gif</A><BR>What does this mean ? How can I troubleshoot the problem ?<BR><BR>thanks<BR><BR>Victoria<BR><BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/available">http://n2.nabble.com/available</A>-WMS-maps-and-troubleshooting-tp3908016p3908016.html<BR>Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>