[gdal-dev] Looking to understand /vsicurl usage...

Carl Godkin cgodkin at gmail.com
Sat Jun 17 18:34:37 PDT 2017


Hi,

The OpenTopography site provides a web service to download its SRTM data.
See

http://www.opentopography.org/developers#SRTM

where there is an example URL for a query (that works).

What I don't understand is that

gdalinfo "/vsicurl/<example URL>"

fails with "ERROR 4: `/vsicurl/
http://opentopo.sdsc.edu/otr/getdem?demtype=SRTMGL3&west=-120.168457&south=36.738884&east=-118.465576&north=38.091337&outputFormat=GTiff'
not recognized as a supported file format."

but

gdalinfo "<example URL>"

works just fine.  While it's wonderful that it works, I'm looking to do
something like this from a C++ program so I would like to understand why
/vsicurl is not used in this situation.

Thanks very much,

carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170617/6cf2f08c/attachment.html>


More information about the gdal-dev mailing list