Skip to content
Permalink
Browse files

[vector file writer] LIBKML driver also requires coordinates to be in…

… wgs84
  • Loading branch information
github-actions authored and nyalldawson committed Jul 22, 2020
1 parent 9484aff commit b37158ad44af5f8bbeb309d3d44ef8f9872fc271
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorfilewriter.cpp
@@ -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" ) )
{

0 comments on commit b37158a

Please sign in to comment.
You can’t perform that action at this time.