[Gdal-dev] Method to get a google image by url?

Joaquim Luis jluis at ualg.pt
Thu Nov 15 10:52:48 EST 2007


Thanks Garrett
Some search helped me to find that (in my case of course) this solves 
the problem (windows)

set http_proxy=proxy1.si.ualg.pt:8080

Joaquim Luis

> I think for any http requests GDAL uses libcurl.  There is a global 
> environment variable (I think) that you can set outside your software 
> for libcurl to go through a proxy.  Let me dig around real quick
>
> Take care
>
> Garrett
>
> On Nov 15, 2007, at 9:48 AM, Joaquim Luis wrote:
>
>> Frank Warmerdam wrote:
>>> If you have libcurl support included in your GDAL build you can just 
>>> do:
>>>
>>>   gdalinfo 'http://kh.google.com/kh?v=99&n=404&t=tqssrrqstt'
>>>
>>> That is, GDAL has a special "HTTP" driver that will fetch from an url
>>> and access the data from a memory buffer.
>>
>> Frank,
>> Thanks that's cool, but before I dig out how to get the image in 
>> memory let me bug you with one further question.
>> How do we declare a proxy?
>> (you command worked at home but not here at the University - firewalls)
>>
>> Thanks
>> Joaquim
>>
>> _______________________________________________
>> Gdal-dev mailing list
>> Gdal-dev at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>
>




More information about the gdal-dev mailing list