Skip to content

Commit

Permalink
Vector file writer: add GML2 choice, and default to GML3.2 which is t…
Browse files Browse the repository at this point in the history
…he default since GDAL 3.4
  • Loading branch information
rouault authored and nyalldawson committed Mar 23, 2023
1 parent fd05823 commit 96c2482
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgsvectorfilewriter.cpp
Expand Up @@ -1439,13 +1439,13 @@ class QgsVectorFileWriterMetadataContainer
) );

datasetOptions.insert( QStringLiteral( "FORMAT" ), new QgsVectorFileWriter::SetOption(
QObject::tr( "If not specified, GML2 will be used." ),
QObject::tr( "GML version to use." ),
QStringList()
<< QStringLiteral( "GML2" )
<< QStringLiteral( "GML3" )
<< QStringLiteral( "GML3Deegree" )
<< QStringLiteral( "GML3.2" ),
QString(), // Default value
true // Allow None
QStringLiteral( "GML3.2" ) // Default value
) );

datasetOptions.insert( QStringLiteral( "GML3_LONGSRS" ), new QgsVectorFileWriter::BoolOption(
Expand Down

0 comments on commit 96c2482

Please sign in to comment.