Discussion:
[Community] OWSLib: adding layer MetadataURL support to WebMapService
Alexandre Saunier
2011-07-26 14:22:00 UTC
Permalink
Hello,

using OWSLib's WebMapService, one may browse the details of a WMS
layer (see [1]).

I notice that the <MetadataURL> element is not supported (see [2])
whereas it is defined as an optional child element of <Layer> in the
WMS GetCapabilities specifications.

The attached patch adds the support of MetadataURL. Would it be useful
to create a ticket and join this patch? If yes, what is the procedure
to do so?

Best regards,
Alexandre

[1] http://gispython.org/owslib/docs/en/trunk/#wms
[2] http://trac.gispython.org/lab/browser/OWSLib/trunk/owslib/wms.py#L303
-------------- next part --------------
A non-text attachment was scrubbed...
Name: owslib_metadataurl.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.gispython.org/pipermail/community/attachments/20110726/3ecf9eaa/attachment.bin>
Dominic Lowe
2011-07-26 14:40:39 UTC
Permalink
Hi Alexandre,


Thanks a lot for the patch.

The simplest thing was for me to apply the patch as it seemed
straightforward enough so I've done that. However I'm not in a good
position to test it right now so would appreciate if you could confirm
it works ok.

Regards,

Dominic
Post by Alexandre Saunier
Hello,
using OWSLib's WebMapService, one may browse the details of a WMS
layer (see [1]).
I notice that the<MetadataURL> element is not supported (see [2])
whereas it is defined as an optional child element of<Layer> in the
WMS GetCapabilities specifications.
The attached patch adds the support of MetadataURL. Would it be useful
to create a ticket and join this patch? If yes, what is the procedure
to do so?
Best regards,
Alexandre
[1] http://gispython.org/owslib/docs/en/trunk/#wms
[2] http://trac.gispython.org/lab/browser/OWSLib/trunk/owslib/wms.py#L303
--
Scanned by iCritical.
Alexandre Saunier
2011-07-26 14:59:47 UTC
Permalink
Thanks Dominic for the quick reply!
It works OK for me after a svn update of OWSLib.
Alexandre
Post by Dominic Lowe
Hi Alexandre,
Thanks a lot for the patch.
The simplest thing was for me to apply the patch as it seemed
straightforward enough so I've done that. However I'm not in a good position
to test it right now so would appreciate if you could confirm it works ok.
Regards,
Dominic
Post by Alexandre Saunier
Hello,
using OWSLib's WebMapService, one may browse the details of a WMS
layer (see [1]).
I notice that the<MetadataURL> ?element is not supported (see [2])
whereas it is defined as an optional child element of<Layer> ?in the
WMS GetCapabilities specifications.
The attached patch adds the support of MetadataURL. Would it be useful
to create a ticket and join this patch? If yes, what is the procedure
to do so?
Best regards,
Alexandre
[1] http://gispython.org/owslib/docs/en/trunk/#wms
[2] http://trac.gispython.org/lab/browser/OWSLib/trunk/owslib/wms.py#L303
--
Scanned by iCritical.
_______________________________________________
Community mailing list
Community at lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
Loading...