[geotk] code for parsing WMS Capabilities docs
Jonathan Blower
j.d.blower at reading.ac.uk
Tue May 18 15:38:24 EDT 2010
Hi Johann,
Thanks very much indeed, sounds like just what I want. Is the javadoc online anywhere? http://pending.geotoolkit.org is not working for me (linked from main-line Geotoolkit javadoc).
I want to harvest Capabilities documents from WMSs and store them in a database. I don't suppose you (or anyone else) has created a relational database schema to hold such information? (The WMSs in question make full use of ELEVATION and TIME dimensions.)
Cheers, Jon
-----Original Message-----
From: johann sorel [mailto:johann.sorel at geomatys.fr]
Sent: 18 May 2010 20:18
To: Jonathan Blower
Cc: geotoolkit at lists.osgeo.org
Subject: Re: [geotk] code for parsing WMS Capabilities docs
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