[geotk] code for parsing WMS Capabilities docs
johann sorel
johann.sorel at geomatys.fr
Tue May 18 15:18:26 EDT 2010
Hello jonathan,
The WMS module from geotk-pending is :
<groupId>org.geotoolkit.pending</groupId>
<artifactId>geotk-client-wms</artifactId>
It's not much documented but straight forward like all the clients
module we have.
The starting class of each module have the name of the server, ex :
WebMapServer, WebFeatureServer ...
The constructor takes the distant server URL and the version.
Once you have this object you can create all types of requests,
createGetMap ... and a method to
access the capabilities.(you might have to cast the returned object in a
more specific version, depends on what you are looking for).
For WMS there is also the class WMSMapLayer which can be used in a
MapContext for rendering purposes.
Ask if you have any problem. ;)
Johann Sorel
Le 18/05/2010 18:23, Jonathan Blower a écrit :
> Hi,
>
> Does Geotk have any code for parsing WMS Capabilities documents (1.3.0)?
> I couldn't find anything with a quick look at the
> website/javadocs/Google.
>
> Cheers, Jon
>
> --
> Dr Jon Blower
> Technical Director, Reading e-Science Centre
> Environmental Systems Science Centre
> University of Reading
> Harry Pitt Building, 3 Earley Gate
> Reading RG6 6AL. UK
> Tel: +44 (0)118 378 5213
> Fax: +44 (0)118 378 6413
> j.d.blower at reading.ac.uk
> http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit
>
>
More information about the Geotoolkit
mailing list