Re: [gdal-dev] WMS using a Proxy

2021-06-30 Thread Rahkonen Jukka (MML)
Hi,

Our proxy does not require user/password but these options work for the 
server/port part:

1) Set environmental variable and run gdalinfo
SET https_proxy=our_proxy.fi:
gdalinfo 
"WMS:https://www.idee.es/wms/PNOA/PNOA?service=wms&request=getcapabilities";

2) Set proxy with config option

gdalinfo 
"WMS:https://www.idee.es/wms/PNOA/PNOA?service=wms&request=getcapabilities"; 
--config gdal_http_proxy our_proxy.fi:

Config option gdal_http_proxy seems to work also with https. Environmental 
variables must be set explicitly for http_proxy and https_proxy. And --config 
can be repeated. Which method to use depends on your work environment. I 
believe that technically the options are identical but if you use both internal 
and external services which require different proxy settings it might be more 
clear to define the proxy with config option.

-Jukka Rahkonen-


Elena Ruiz wrote:

> Hello, I need to access the information from a WMS server through a proxy. I 
> would need to 
> know exactly the syntax to use the proxy, I have tried the following:


>   gdalinfo 
> "WMS:https://www.idee.es/wms/PNOA/PNOA?service=wms&request=getcapabilities"; 
> -config GDAL_HTTP_PROXY xx.xxx.x.xx:3128 -config GDAL_HTTP_PROXYUSERPWD 
> user:password -config GDAL_HTTP_AUTH NTLM

> Would it be okay with the previous syntax? Can you repeat the word --config? 
> Do you need 
> quotes or brackets for the IP: port or user: password? in the case of 
> GDAL_HTTP_AUTH, 
> how to know whether to put NTLM or BASIC? and finally, is it better to put 
> the parameters 
> after gdalinfo or in the system variables?

> I'm waiting for your answer, regards
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] WMS using a Proxy

2021-06-30 Thread Elena Ruiz
Hello, I need to access the information from a WMS server through a proxy. I 
would need to know exactly the syntax to use the proxy, I have tried the 
following:


 *   gdalinfo 
"WMS:https://www.idee.es/wms/PNOA/PNOA?service=wms&request=getcapabilities"; 
-config GDAL_HTTP_PROXY xx.xxx.x.xx:3128 -config GDAL_HTTP_PROXYUSERPWD 
user:password -config GDAL_HTTP_AUTH NTLM

Would it be okay with the previous syntax? Can you repeat the word --config? Do 
you need quotes or brackets for the IP: port or user: password? in the case of 
GDAL_HTTP_AUTH, how to know whether to put NTLM or BASIC? and finally, is it 
better to put the parameters after gdalinfo or in the system variables?

I'm waiting for your answer, regards


[https://www.aplitop.com/descargas/firma1.jpg]


Elena Ruiz
Sofware Development & Technical Support
Tel. +34 952 43 97 71
er...@aplitop.com
Sumatra, 9 - 29190 M?laga (Spain)
www.aplitop.com

[cid:SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png]
   [cid:SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png] 

[cid:SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png] 

[cid:SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png] 



In accordance with the provisions of the European Regulation of Data Protection 
2016/679 (Reglamento Europeo de Protecci?n de Datos 2016/679), we inform you 
that the data and the information you provide us through this medium will be 
used by APLITOP, S.L., with C.I.F. B-92543396 and with address at C / Sumatra, 
9, Malaga, 29190, in order to answer your questions and inform you about our 
products. The data provided will be kept as long as it does not request its 
cessation and will not be transferred to third parties except in cases where 
there is a legal obligation. You have the right to access your personal data, 
correct inaccurate data or request its deletion when the data is no longer 
necessary for the purposes that were collected, as well as any rights 
recognized in the RGPD 2016/679



___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev