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

ENH: allow HTTP GDAL datasets

parent 38b72229
Pipeline #3645 failed with stages
in 129 minutes and 20 seconds
......@@ -60,12 +60,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