Commit a9340fdf authored by Laurențiu Nicola's avatar Laurențiu Nicola

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

ENH: allow HTTP GDAL datasets

See merge request !681
parents 6948835b b08ca42b
Pipeline #3669 passed with stages
in 84 minutes and 23 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment