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 a8ce8af
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.