#4985 closed defect (worksforme)
VSIZIP returns that range download is not supported in some cases
Reported by: | manuelgrizonnet | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | 1.9.2 |
Severity: | normal | Keywords: | vsizip remote data |
Cc: |
Description
I am not sure if there is a problem in gdal or if this is related to a limitation of the usgs server but I've got a strange behaviour trying to access remote zip files through gdal.
On the same server and in the same directory 2 gdalinfo commands which access different zip files behave differently
In one case this command works without problem:
gdalinfo /vsizip/vsicurl/http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N00E072.hgt.zip/N00E072.hgt
but this command fails:
gdalinfo /vsizip/vsicurl/http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N43E001.hgt.zip/N43E001.hgt
In both cases the files exist on the server and I'm able to download them.
It returns "ERROR 1: Range downloading not supported by this server" !
It seems weird that there is server limitation on some specific files inside the same directory.
Manuel
Change History (4)
comment:1 by , 11 years ago
Summary: | VSIZIP returns that range download is not supported → VSIZIP returns that range download is not supported in some cases |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Both links work for me too. I suppose you have some network problems on your side (no proxy ?), or it was a temporary misfunction of the USGS server. Or it might come from the particular libcurl version you are using (although I'm not using a particularly recent one, 7.19.7)
comment:4 by , 11 years ago
If it works or your side I suppose that it is related to my network and the proxy.
FYI, I'm using libcurl 7.22.0
Thanks for the answer.
works for me.
also not specifying the internal file works : gdalinfo /vsizip/vsicurl/http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N43E001.hgt.zip