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 github-actions[bot] committed Mar 23, 2023
1 parent 3f2b140 commit e005def
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 e005def

Please sign in to comment.