Skip to content

Commit

Permalink
[vector file writer] LIBKML driver also requires coordinates to be in…
Browse files Browse the repository at this point in the history
… wgs84
  • Loading branch information
nirvn authored and nyalldawson committed Jul 21, 2020
1 parent f0b62fb commit c8c0dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Expand Up @@ -419,7 +419,7 @@ void QgsVectorFileWriter::init( QString vectorFileName,
}

// consider spatial reference system of the layer
if ( driverName == QLatin1String( "KML" ) || driverName == QLatin1String( "GPX" ) )
if ( driverName == QLatin1String( "KML" ) || driverName == QLatin1String( "LIBKML" ) || driverName == QLatin1String( "GPX" ) )
{
if ( srs.authid() != QStringLiteral( "EPSG:4326" ) )
{
Expand Down

0 comments on commit c8c0dcd

Please sign in to comment.