Skip to content

Commit

Permalink
QgsVectorFileWriter: make metadata for BNA conditional to GDAL < 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 24, 2021
1 parent 786c308 commit 92709e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/qgsvectorfilewriter.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -995,6 +999,7 @@ class QgsVectorFileWriterMetadataContainer
layerOptions
)
);
#endif

// Comma Separated Value
datasetOptions.clear();
Expand Down

0 comments on commit 92709e8

Please sign in to comment.