<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi Lorenzo</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you very much for the help. I have a question. Is there a way I can directly get the bounding box values for a layer using WMS Manager APIs. Because the reason I want to do WMS GetCapabilities is to get this info only. If WMS GetCapabilities is the only way then I am not sure how to do it using WMS Manager. Can you show me with an example (&nbsp;making&nbsp;a WMS GetCapabilities to a WMS server&nbsp;request and after parsing the received XML ). Any help is highly appreciated</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks in advance</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">ganesh</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Lorenzo Becchi &lt;lorenzo@ominiverdi.com&gt;<BR>To: Ganesh Jothikumar &lt;ganeshjothikumar@yahoo.com&gt;<BR>Cc: rldhont &lt;rldhont@gmail.com&gt;; dev@openlayers.org<BR>Sent: Tuesday, 27 November, 2007 1:53:12 AM<BR>Subject: Re: [OpenLayers-Dev] WMS GetCapabilities Requst<BR><BR>Hi Ganesh,<BR>I've made an external module for OpenLayers that does what you want (maybe).<BR>The name is WMS Manager [1].<BR>There's a blog post that explain how to use it in the easy way [2].<BR>there's a live application the shows it working [3].<BR><BR>The code is not that clean but inside the WMS Manager Control there are <BR>a few tricks to make GetCapabilities work smoothly with Mapserver and <BR>Geoserver, and some other WMS servers. Not all vendors are supported. I <BR>consider this code still in Beta phase; I'm still developing new <BR>features that I
 need for my project.<BR><BR>I'll be available for further explanations.<BR>ciao<BR>Lorenzo<BR><BR>[1] <A href="http://www.ominiverdi.org/index.php/openlayers" target=_blank>http://www.ominiverdi.org/index.php/openlayers</A><BR>[2] <BR><A href="http://blog.ominiverdi.org/index.php?/archives/21-WMS-Manager-on-OpenLayers.html" target=_blank>http://blog.ominiverdi.org/index.php?/archives/21-WMS-Manager-on-OpenLayers.html</A><BR>[3] <BR><A href="http://www.ominiverdi.org/openlayers/sandbox/openlayers/examples/wms_manager_abs.html" target=_blank>http://www.ominiverdi.org/openlayers/sandbox/openlayers/examples/wms_manager_abs.html</A><BR><BR><BR><BR><BR>Ganesh Jothikumar wrote:<BR>&gt; Hi rldhont<BR>&gt;&nbsp; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thanks for the reply. yes I am aware of the XML format. <BR>&gt; And thanks for the example also. But what I want is how to make the <BR>&gt; /*WMS GetCapabilities*/ request from Java Script
 using the OL APIs. It <BR>&gt; will be very helpfult if someone could help me with a few lines of code..<BR>&gt;&nbsp; <BR>&gt; Thanks<BR>&gt; ganesh<BR>&gt;<BR>&gt; ----- Original Message ----<BR>&gt; From: rldhont &lt;<A href="mailto:rldhont@gmail.com" ymailto="mailto:rldhont@gmail.com">rldhont@gmail.com</A>&gt;<BR>&gt; To: <A href="mailto:dev@openlayers.org" ymailto="mailto:dev@openlayers.org">dev@openlayers.org</A><BR>&gt; Sent: Monday, 26 November, 2007 7:18:10 PM<BR>&gt; Subject: Re: [OpenLayers-Dev] WMS GetCapabilities Requst<BR>&gt;<BR>&gt; You can use XML Format. Look at the source code of this example :<BR>&gt; <A href="http://openlayers.org/dev/examples/xml.html" target=_blank>http://openlayers.org/dev/examples/xml.html</A><BR>&gt;<BR>&gt; --------------------<BR>&gt; René-Luc D'Hont<BR>&gt; 3Liz SARL<BR>&gt; blog: <A href="http://3liz.org/blog/rldhont" target=_blank>http://3liz.org/blog/rldhont</A><BR>&gt;<BR>&gt; Ganesh Jothikumar a écrit
 :<BR>&gt; &gt; Hi All<BR>&gt; &gt; <BR>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; I am using OpenLayers with GeoServer. I am using OpenLayers<BR>&gt; &gt; JavaScript APIs to render the WMS layers present in GeoServer. Of the<BR>&gt; &gt; layers I have one base layer and multiple overlays. Now I need to<BR>&gt; &gt; specify the bounding box values for the base map coverage layer in the<BR>&gt; &gt; OpenLayers.WMS function (maxExtent : bounds ) For thst I need to get<BR>&gt; &gt; the values from the GeoServer. After consulting the GeoServer guys I<BR>&gt; &gt; came to know that I have to do a WMS GetCapabilities request and parse<BR>&gt; &gt; the returned XML to get the BBox for my layer. What I want to know is<BR>&gt; &gt; how to make a WMS GetCapabilities request using OpenLayers and parse<BR>&gt; &gt; the returned XML. Any example would be highly useful. Or let me know<BR>&gt; &gt; if there is any other way of solving this...<BR>&gt; &gt; <BR>&gt; &gt;
 Thanks in advance<BR>&gt; &gt; ganesh<BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; Why delete messages? Unlimited storage is just a click away.<BR>&gt; &gt; <BR>&gt; &lt;<A href="http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/" target=_blank>http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/</A>&gt; <BR>&gt;<BR>&gt; &gt;<BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Dev mailing list<BR>&gt; &gt; <A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A> &lt;mailto:<A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A>&gt;<BR>&gt; &gt; <A
 href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR>&gt; &gt; <BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Dev mailing list<BR>&gt; <A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A> &lt;mailto:<A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A>&gt;<BR>&gt; <A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR>&gt;<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Bring your gang together - do your thing. Start your group. <BR>&gt; &lt;<A href="http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups" target=_blank>http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups</A>&gt; <BR>&gt;<BR>&gt;
 ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Dev mailing list<BR>&gt; <A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A><BR>&gt; <A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR>&gt;&nbsp; <BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>


      <!--2--><hr size=1></hr> Bring your gang together - do your thing. <a href="http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups"> Start your group.</a></body></html>