mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-08 00:06:51 -05:00
[vector file writer] LIBKML driver also requires coordinates to be in wgs84
This commit is contained in:
parent
f0b62fb001
commit
c8c0dcdf0b
@ -419,7 +419,7 @@ void QgsVectorFileWriter::init( QString vectorFileName,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// consider spatial reference system of the layer
|
// 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" ) )
|
if ( srs.authid() != QStringLiteral( "EPSG:4326" ) )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user