Skip to content
Permalink
Browse files
Fix: created SRS in HANA misses AUTH/SRID_ID
  • Loading branch information
mrylov authored and nyalldawson committed May 17, 2021
1 parent 55bb872 commit 92c7ccd4ebaa8b8fb8aaaca38174525d1a7bef8f
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/providers/hana/qgshanaprovider.cpp
@@ -106,15 +106,17 @@ namespace
"TYPE %5 "
"COORDINATE %6 "
"COORDINATE %7 "
"DEFINITION %8 "
"TRANSFORM DEFINITION %9" )
"ORGANIZATION %8 IDENTIFIED BY %9 "
"DEFINITION %10 "
"TRANSFORM DEFINITION %11" )
.arg( QgsHanaUtils::quotedIdentifier( srs.description() ),
QString::number( srid ),
linearUnits,
angularUnits,
srs.isGeographic() ? QStringLiteral( "ROUND EARTH" ) : QStringLiteral( "PLANAR" ),
xRange, yRange,
QgsHanaUtils::quotedString( srs.toWkt() ),
QgsHanaUtils::quotedIdentifier( authName ), QString::number( srid ) )
.arg( QgsHanaUtils::quotedString( srs.toWkt() ),
QgsHanaUtils::quotedString( srs.toProj() ) );

QString errorMessage;

0 comments on commit 92c7ccd

Please sign in to comment.