[gdal-dev] GDALOpen not working with URLs

Upendra Dadi udadi at gmu.edu
Mon Nov 23 10:57:25 EST 2009

  GDALOpen is unable to open URLs, it is giving the following error:

ERROR 4: `http://pubs.usgs.gov/of/1999/of99-396/data/imagery/utmd00/bathy1.tif' does not exist in the file system,
and is not recognised as a supported dataset name.

The following is the code snippet:

 GDALDriver         *hDriver;
 GDALDataset	    *hSrcDS;


 hSrcDS = (GDALDataset *)GDALOpen("http://pubs.usgs.gov/of/1999/of99-396/data/imagery/utmd00/bathy1.tif",GA_ReadOnly );

If I remember correctly, I was earlier able to read directly from URLs. Am I missing some library here? Please help. thanks.


More information about the gdal-dev mailing list