Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Vector file writer: add GML2 choice, and default to GML3.2 which is t…
…he default since GDAL 3.4
  • Loading branch information
rouault authored and nyalldawson committed Apr 1, 2023
1 parent 28bd021 commit 8b319c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgsvectorfilewriter.cpp
Expand Up @@ -1442,13 +1442,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 8b319c4

Please sign in to comment.