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

ENH: allow HTTP GDAL datasets

parent 38b72229
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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