[gdal-dev] does ogr_geocode and ogr_reverse_geocode use the GDAL Proxy parameters?

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Sep 24 05:35:45 PDT 2013


lucvanlinden <luc.vanlinden <at> gmail.com> writes:

> 
> Hi
> 
> We succesfully used the ogr_geocode & ogr_reverse_geocode before. (Thanks
> for your work on this Even).
> 
> Now I need to use this but from behind a firewall.
> 
> I found the general parameters GDAL_HTTP_PROXY parameters here
> http://trac.osgeo.org/gdal/wiki/ConfigOptions#GDALOGRHTTPoptions
> 
> My question is: will these be picked up by the ogr_geocode &
> ogr_reverse_geocode functions in a -sql select statement for ogrinfo and
> ogr2ogr?
> 
> (PS: the user is in a domain, what would be the user:password notation
> then)?

At least this seems to work on Windows with binaries from gisinternals:
- open command window
- do "SET HTTP_PROXY=http://proxy.fi:8888"
- GDAL_dev>ogrinfo -dialect sqlite foo.csv -sql "SELECT
ST_Centroid(ogr_geocode('Paris'))"

-Jukka Rahkonen-







More information about the gdal-dev mailing list