[Gvsig_english] Extension: Loading a WCS Layer
Jorge Piera Llodrá
jpiera at prodevelop.es
Wed Apr 7 17:20:02 CEST 2010
Hello Bruno.
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.
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...
Regards,
Jorge
[1] https://gvsig.org/svn/gvSIG/trunk/extensions/extWCS
On 04/07/2010 04:53 PM, Bruno Gomes wrote:
> Hi to all,
> 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:
> (http://localhost:8181/geoserver/wcs?SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=ArcGrid&COVERAGE=General:terrain&CRS=EPSG:20790&BBOX=158587.5,319587.5,230912.5,391087.5&height=2893&width=2860
> <http://localhost:8181/geoserver/wcs?SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=ArcGrid&COVERAGE=General:terrain&CRS=EPSG:20790&BBOX=158587.5,319587.5,230912.5,391087.5&height=2893&width=2860>)
> 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?
> Sorry if my doubt is not clear enough, im beginning working in the
> gvsig short time ago.
>
> Thanks for the help.
> Best regards.
>
> --
> Bruno Gomes
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
--
Jorge Piera Llodrá
Equipo desarrollo gvSIG
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tef: +34 963510612
Fax: +34 963510908
e-mail: jpiera at prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100407/0998bc08/attachment.htm
More information about the Gvsig_internacional
mailing list