Skip to content
Permalink
Browse files
QgsVectorFileWriter: make metadata for BNA conditional to GDAL < 3.3.0
  • Loading branch information
rouault committed May 24, 2021
1 parent 786c308 commit 92709e826513fe180cf7edf69791990aa8f5f562
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core/qgsvectorfilewriter.cpp
@@ -931,6 +931,10 @@ class QgsVectorFileWriterMetadataContainer
)
);


#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(3,3,0)
// Support for Atlas BNA was removed in GDAL 3.3

// Atlas BNA
datasetOptions.clear();
layerOptions.clear();
@@ -995,6 +999,7 @@ class QgsVectorFileWriterMetadataContainer
layerOptions
)
);
#endif

// Comma Separated Value
datasetOptions.clear();

0 comments on commit 92709e8

Please sign in to comment.