Skip to content

Commit

Permalink
Precision for hacc and vacc information
Browse files Browse the repository at this point in the history
Since Vertical and Horizontal Accuracy can be more accurate than 0.1 m i suggest adding more precision to that -> 0.01 m (cm - accuracy) is possible with modern gnss methods (rtk)
  • Loading branch information
jiargei committed Aug 11, 2020
1 parent c567966 commit 026dc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -939,7 +939,7 @@ void QgsGpsInformationWidget::displayGPSInformation( const QgsGpsInformation &in
if ( std::isfinite( info.hacc ) )
{
mTxtHacc->setEnabled( true );
mTxtHacc->setText( QString::number( info.hacc, 'f', 1 ) + "m" );
mTxtHacc->setText( QString::number( info.hacc, 'f', 2 ) + "m" );
}
else
{
Expand All @@ -949,7 +949,7 @@ void QgsGpsInformationWidget::displayGPSInformation( const QgsGpsInformation &in
if ( std::isfinite( info.vacc ) )
{
mTxtVacc->setEnabled( true );
mTxtVacc->setText( QString::number( info.vacc, 'f', 1 ) + "m" );
mTxtVacc->setText( QString::number( info.vacc, 'f', 2 ) + "m" );
}
else
{
Expand Down

0 comments on commit 026dc31

Please sign in to comment.