[OWSLib-users] OWSLIB wfs with authentication

Michel van Leeuwen michel at iamit.nl
Wed Mar 5 01:03:26 PST 2014


probably this issue being resolved would also fix it:
https://github.com/geopython/OWSLib/issues/111 ( implement Python 
requests for HTTP)

but that seem a more long term solution

Met vriendelijke groet,
With kind regards,
Med venlig hilsen,
Mit freundlichen Grüßen,


Michèl van Leeuwen

IAmIT 	KvK Haaglanden 27281395
Postbus 3363, 2601 DJ Delft 	BTW Nr: NL183534712B01
Tel: +31 (0)15 20 230 20 	IBAN: NL33 INGB 0006 3266 39
Mob: +31 (0)6 387 58 163 	
michel at IAmIT.nl 	www.IAmIT.nl <http://www.iamit.nl>
Logo IAmFlora
I Am waar de IT groen wordt
www.IAmFlora.nl <http://www.iamflora.nl> - www.IAmOpen.nl 
<http://www.iamopen.nl> - www.IAmInControl.nl <http://www.iamincontrol.nl>

On 03/05/2014 09:51 AM, Michel van Leeuwen wrote:
> I Am trying to connect to a wfs behind a logon. (version 1.1.0)
> Just new using the OWSlib, but can't figure out how.
> All examples, docs and tutorials I have found, are open api wfs (so no 
> logon needed).
>
> I saw an option in the wms to give a username and password to the 
> initialisation of
> WebMapService
>
> see https://github.com/geopython/OWSLib/blob/master/owslib/wms.py
> :
> def __init__(self, url, version='1.1.1', xml=None,
> username=None, password=None, parse_remote_metadata=False
> ):
>
> But I couldn't find such thing in wfs.
> Am I the only one needing this?
> I can't imagine I am the first trying to logon to a wfs.
> I could clone the source and make something comparable as in wms... 
> but before I do, I just wanted to know there might be a better/easier way?
>
> -- 
> Met vriendelijke groet,
> With kind regards,
> Med venlig hilsen,
> Mit freundlichen Grüßen,
>
>
> Michèl van Leeuwen
>
> IAmIT 	KvK Haaglanden 27281395
> Postbus 3363, 2601 DJ Delft 	BTW Nr: NL183534712B01
> Tel: +31 (0)15 20 230 20 	IBAN: NL33 INGB 0006 3266 39
> Mob: +31 (0)6 387 58 163 	
> michel at IAmIT.nl 	www.IAmIT.nl <http://www.iamit.nl>
> Logo IAmFlora
> I Am waar de IT groen wordt
> www.IAmFlora.nl <http://www.iamflora.nl> - www.IAmOpen.nl 
> <http://www.iamopen.nl> - www.IAmInControl.nl <http://www.iamincontrol.nl>
>
>
>
> _______________________________________________
> OWSLib-users mailing list
> OWSLib-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20140305/5c8098be/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LogoIAmIT_kort.gif
Type: image/gif
Size: 4424 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20140305/5c8098be/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4424 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20140305/5c8098be/attachment-0003.gif>


More information about the OWSLib-users mailing list