Skip to content
Permalink
Browse files
Fix detection of CRS meter units
  • Loading branch information
mhugent authored and mach0 committed Nov 23, 2011
1 parent d00fc4a commit a8ce8af7ca49bda0fa260dc1f464b53b62bbd1a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -835,7 +835,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 a8ce8af

Please sign in to comment.