[OpenLayers-Users] how to query wms, like wfs?

Phil Scadden p.scadden at gns.cri.nz
Sun Feb 23 13:55:28 PST 2014


On 24/02/2014 10:24 a.m., zach cruise wrote:
> how do i do the same for wms
  The first thing to do would be check the GetCaps document to see that 
what you want is actually supported for that layer. The error would 
suggest not. You should use the NET tab on your debugger (Chrome or 
firebug) to look at the request that is actually being sent to the WMS 
server. If you copy it and paste into the URL bar of your browser, you 
can can play with options in the URL and see what comes back. Try other 
info_formats for a start. (gml is the most useful, but it possible that 
service owner has configured only unhelpful html returns).


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.



More information about the Users mailing list