Upendra Dadi wrote:
Hi,
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;
GDALAllRegister();
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.
Upendra,
The http driver depends on GDAL having been built with libcurl. The
configure option is --with-curl.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev