Skip to content

Commit

Permalink
Update test results for proj6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 24, 2019
1 parent 9bf6917 commit c8a6e10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/src/python/test_qgsdistancearea.py
Expand Up @@ -43,9 +43,10 @@ def testCrs(self):

self.assertFalse(da.ellipsoidCrs().isValid())
da.setEllipsoid("GRS80")
self.assertEqual(da.ellipsoidCrs().authid(), 'EPSG:4019')
# depends on proj version
self.assertIn(da.ellipsoidCrs().toProj4(), ('+proj=longlat +ellps=GRS80 +no_defs', '+proj=longlat +a=6378137 +rf=298.25722210100002 +no_defs'))
da.setEllipsoid("WGS84")
self.assertEqual(da.ellipsoidCrs().authid(), 'EPSG:4030')
self.assertIn(da.ellipsoidCrs().toProj4(), ('+proj=longlat +ellps=WGS84 +no_defs', '+proj=longlat +a=6378137 +rf=298.25722356300003 +no_defs'))

def testMeasureLine(self):
# +-+
Expand Down

0 comments on commit c8a6e10

Please sign in to comment.