<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Bruno.<br>
<br>
You can not load a WCS from just a URL. I recommend you download the
code of the WCS project from the SVN repository [1] and have a look to
the code that is used to create a WCS layer.<br>
<br>
Have a look to the class com.iver.cit.gvsig.fmap.layers.WCSLayer, that
represents a WCS layer: It has methods to set the server url, the
coverages that you want to retrieve...<br>
<br>
Regards,<br>
Jorge<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://gvsig.org/svn/gvSIG/trunk/extensions/extWCS">https://gvsig.org/svn/gvSIG/trunk/extensions/extWCS</a><br>
<br>
On 04/07/2010 04:53 PM, Bruno Gomes wrote:
<blockquote
 cite="mid:r2h68b9e2081004070753h4eccb4e6h36389cf97002b908@mail.gmail.com"
 type="cite">Hi to all,<br>
im developing a gvSig extension, and i want to load and visualize a wcs
layer. I have the link that make the request to my geoserver, somethink
like that: (<a moz-do-not-send="true"
 href="http://localhost:8181/geoserver/wcs?SERVICE=wcs&amp;VERSION=1.0.0&amp;REQUEST=GetCoverage&amp;FORMAT=ArcGrid&amp;COVERAGE=General:terrain&amp;CRS=EPSG:20790&amp;BBOX=158587.5,319587.5,230912.5,391087.5&amp;height=2893&amp;width=2860">http://localhost:8181/geoserver/wcs?SERVICE=wcs&amp;VERSION=1.0.0&amp;REQUEST=GetCoverage&amp;FORMAT=ArcGrid&amp;COVERAGE=General:terrain&amp;CRS=EPSG:20790&amp;BBOX=158587.5,319587.5,230912.5,391087.5&amp;height=2893&amp;width=2860</a>)<br>
So, whit this request String, i want to add automatically the wcs layer
to a new view in the project manager. How can i do that? <br>
Sorry if my doubt is not clear enough, im beginning working in the
gvsig short time ago. <br>
  <br>
Thanks for the help.<br>
Best regards. <br>
  <br>
-- <br>
Bruno Gomes<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a>
<a class="moz-txt-link-freetext" href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Jorge Piera Llodr&aacute;
Equipo desarrollo gvSIG
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tef: +34 963510612
Fax: +34 963510908
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:jpiera@prodevelop.es">jpiera@prodevelop.es</a>
<a class="moz-txt-link-freetext" href="http://www.prodevelop.es">http://www.prodevelop.es</a>
<a class="moz-txt-link-freetext" href="http://www.gvsig.org">http://www.gvsig.org</a>
</pre>
</body>
</html>