Opened 6 years ago
Closed 6 years ago
#29761 closed Bug (fixed)
GIS test failures with PROJ >= 5
Reported by: | Sergey Fedoseev | Owned by: | Sergey Fedoseev |
---|---|---|---|
Component: | GIS | Version: | 2.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
====================================================================== FAIL: test_raster_transform (gis_tests.gdal_tests.test_raster.GDALRasterTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/case.py", line 605, in run testMethod() File "/home/sergey/dev/django/tests/gis_tests/gdal_tests/test_raster.py", line 517, in test_raster_transform self.assertAlmostEqual(target.origin[0], 9124842.791079799) File "/usr/lib/python3.6/unittest/case.py", line 878, in assertAlmostEqual raise self.failureException(msg) AssertionError: 9124842.791069636 != 9124842.791079799 within 7 places ====================================================================== FAIL: test_transform_3d (gis_tests.geos_tests.test_geos.GEOSTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/case.py", line 605, in run testMethod() File "/home/sergey/dev/django/tests/gis_tests/geos_tests/test_geos.py", line 1121, in test_transform_3d self.assertEqual(p3d.z, 100) File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python3.6/unittest/case.py", line 822, in _baseAssertEqual raise self.failureException(msg) AssertionError: 100.00001595821232 != 100 ----------------------------------------------------------------------
I'm using Debian testing and have libgdal20=2.3.1+dfsg-3 and libproj13=5.1.0-2 installed. Probably these failures are related to libproj.
Change History (6)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Bug |
comment:3 by , 6 years ago
Might be worth documenting the PROJ 5.0/5.1 compatibility in https://github.com/django/django/blob/master/docs/ref/contrib/gis/install/geolibs.txt
comment:5 by , 6 years ago
Summary: | GIS test failures → GIS test failures with PROJ >= 5 |
---|
Note:
See TracTickets
for help on using tickets.
PR