[gdal-dev] vsigzip woes with hgt.gz files

Vincent Schut schut at satelligence.com
Wed Aug 23 07:01:05 PDT 2017


Hi all,

I'm trying to get the /vsigzip/ driver working on srtm .hgt.gz files, 
but I don't succeed:

gdalinfo /vsigzip/N37W105.hgt.gz
ERROR 4: `/vsigzip/N37W105.hgt.gz' not recognized as a supported file 
format.
gdalinfo failed - unable to open '/vsigzip/N37W105.hgt.gz'.

This is with a .hgt.gz from here: 
https://s3.amazonaws.com/elevation-tiles-prod/skadi/N37/N37W105.hgt.gz

gunzipping the file works OK.

Any hints?

(in the end, I'd like it to work remotely with a /vsizip/vsicurl/ combo).

Thanks!
Vincent.



More information about the gdal-dev mailing list