Skip to content
Permalink
Browse files

Allow shortcut calculation of perimeter when no ellipsoid set

  • Loading branch information
nyalldawson committed Oct 16, 2015
1 parent 2e1d2d1 commit 0151227b10840e465e9f8cdc8442f009e49a29ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsdistancearea.cpp
@@ -382,7 +382,7 @@ double QgsDistanceArea::measurePerimeter( const QgsGeometry* geometry ) const
return 0.0;
}

if ( !mEllipsoidalMode )
if ( !mEllipsoidalMode || mEllipsoid == GEO_NONE )
{
return geomV2->length();
}

0 comments on commit 0151227

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