Showing with 35 additions and 0 deletions.
  1. +1 −0 src/core/qgscoordinatereferencesystem.cpp
  2. +17 −0 src/gui/qgsdatumtransformdialog.cpp
  3. +17 −0 src/gui/qgsdatumtransformdialog.h
1 change: 1 addition & 0 deletions src/core/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,7 @@ bool QgsCoordinateReferenceSystem::syncDatumTransform( const QString& dbPath )
sql = QString( "UPDATE tbl_datum_transform SET source_crs = %2, target_crs = %3, coord_op_method = %4, p1 = %5, p2 = %6, p3 = %7, p4 = %8, p5 = %9, p6 = %10, p7 = %11 WHERE coord_op = %1" )
.arg( coord_op ).arg( source_crs ).arg( target_crs ).arg( coord_op_method ).arg( p1 ).arg( p2 ).arg( p3 ).arg( p4 ).arg( p5 ).arg( p6 ).arg( p7 );
}
else
{
//not yet in database, do insert
QgsDebugMsg( "Trying datum transform insert" );
Expand Down
17 changes: 17 additions & 0 deletions src/gui/qgsdatumtransformdialog.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/***************************************************************************
qgsdatumtransformdialog.cpp
---------------------------
begin : November 2013
copyright : (C) 2013 by Marco Hugentobler
email : marco.hugentobler at sourcepole dot ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#include "qgsdatumtransformdialog.h"
#include "qgscoordinatetransform.h"

Expand Down
17 changes: 17 additions & 0 deletions src/gui/qgsdatumtransformdialog.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/***************************************************************************
qgsdatumtransformdialog.h
-------------------------
begin : November 2013
copyright : (C) 2013 by Marco Hugentobler
email : marco.hugentobler at sourcepole dot ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#ifndef QGSDATUMTRANSFORMDIALOG_H
#define QGSDATUMTRANSFORMDIALOG_H

Expand Down