Skip to content
Permalink
Browse files

Fix detection of CRS meter units

  • Loading branch information
mhugent committed Nov 8, 2011
1 parent 8e2e654 commit 62ed7ef86b866bd5dd2f8c750cd21e3ffafa5911
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -839,7 +839,7 @@ void QgsCoordinateReferenceSystem::setMapUnits()

QgsDebugMsg( "Projection has linear units of " + unit );

if ( unit == "Meter" )
if ( doubleNear( toMeter, 1.0 ) ) //Unit name for meters would be "metre"
mMapUnits = QGis::Meters;
else if ( unit == "Foot" )
mMapUnits = QGis::Feet;

0 comments on commit 62ed7ef

Please sign in to comment.
You can’t perform that action at this time.