Skip to content
Permalink
Browse files
Fixed browsing/testing of custom projections
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5935 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Oct 9, 2006
1 parent fe233b7 commit d0d7a5f74d714b9a9d048a9d4067eb6a18cf99b4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgscustomprojectiondialog.cpp
@@ -570,7 +570,7 @@ void QgsCustomProjectionDialog::on_pbnNext_clicked()
//cboProjectionFamily->setCurrentText(getProjectionFamilyName(myProjectionFamilyId));
//QString myEllipsoidId = QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,3));
//cboEllipsoid->setCurrentText(getEllipsoidName(myEllipsoidId));
//leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
++mCurrentRecordLong;
lblRecordNo->setText(QString::number(mCurrentRecordLong) + " of " + QString::number(mRecordCountLong));
}
@@ -927,7 +927,7 @@ void QgsCustomProjectionDialog::on_pbnCalculate_clicked()

double z = 0.0;

int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &northing, &easthing, &z);
int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &easthing, &northing, &z);
if ( projResult != 0 )
{
projectedX->setText("Error");

0 comments on commit d0d7a5f

Please sign in to comment.