Hi Victoria
 
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:
 
http://10.64.20.120/cgi-bin/gsswms.exe?service=wms&version=1.1.1&request=GetMap&Layers=nz1mtm,nz250ktm,crs_parcels&SRS=EPSG:2193&BBOX=1492434,5131045,1493434,5132045&WIDTH=512&HEIGHT=512&FORMAT=image/png&STYLES=
 
 
regards,
 
Robert 

>>> Vika <[email protected]> 29/10/2009 9:36 a.m. >>>

Hi, 

I am very new to OL. I am trying to load Topo Map layer according to a
sample usage http://trac.openlayers.org/wiki/AvailableWMSServices 

// create map options
    var options = {
        resolutions:
[0.46875,0.3515625,0.17578125,0.087890625,0.0439453125],
        controls: []
    };

var map = new OpenLayers.Map('map', options);

  var drg = new OpenLayers.Layer.WMS("Topo Maps",
                "http://terraservice.net/ogcmap.ashx";,
                {layers: "DRG"});
map.addLayers([drg]);

However I get pink tile. The location of an image is
http://openlayers.org/dev/img/blank.gif 
What does this mean ? How can I troubleshoot the problem ?

thanks

Victoria

-- 
View this message in context: 
http://n2.nabble.com/available-WMS-maps-and-troubleshooting-tp3908016p3908016.html
 
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected] 
http://openlayers.org/mailman/listinfo/users 

------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have 
received this communication in error please notify the sender immediately and 
delete the message and any attachments. The opinions expressed in this email 
are not necessarily those of AsureQuality. This message has been scanned for 
known viruses before delivery. AsureQuality supports the Unsolicited Electronic 
Messages Act 2007. If you do not wish to receive similar communications in 
future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to