Skip to content
Snippets Groups Projects
Commit a9340fdf authored by Laurențiu Nicola's avatar Laurențiu Nicola
Browse files

Merge branch 'allow-gdal-http' into 'develop'

ENH: allow HTTP GDAL datasets

See merge request orfeotoolbox/otb!681
parents 6948835b b08ca42b
No related branches found
No related tags found
No related merge requests found
......@@ -59,12 +59,6 @@ GDALDatasetWrapper::Pointer GDALDriverManagerWrapper::Open(std::string filename)
{
GDALDatasetWrapper::Pointer datasetWrapper;
if (boost::algorithm::starts_with(filename, "http://") || boost::algorithm::starts_with(filename, "https://"))
{
// don't try to open it and exit
return datasetWrapper;
}
// test if a driver can identify the dataset
GDALDriverH identifyDriverH = GDALIdentifyDriver(filename.c_str(), nullptr);
if (identifyDriverH == nullptr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment