Commit 7cc02a8c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed wrong references in test_geoarray.py

parent 0cd0ad98
Pipeline #577 passed with stages
in 46 seconds
......@@ -117,7 +117,7 @@ class Test_GeoarrayAppliedOnPathArray(unittest.TestCase):
cls.L8_2bands_extract10x11 = np.loadtxt(array_path, 'float32').reshape(10, 11, 2)
# Change the pszProj4-string in a WKT-string.
srs = osgeo.osr.SpatialReference()
srs = osr.SpatialReference()
srs.ImportFromProj4(cls.given_pszProj4_string)
cls.given_projection = srs.ExportToWkt()
......@@ -293,7 +293,7 @@ class Test_GeoarrayAppliedOnPathArray(unittest.TestCase):
# mgleahy, 21 November 2010, "SpatialNotes". [Online].
# URL: http://spatialnotes.blogspot.de/2010/11/converting-wkt-projection-info-to-proj4.html
# [Accessed 23 Mai 2017].
srs = osgeo.osr.SpatialReference()
srs = osr.SpatialReference()
srs.ImportFromWkt(self.testtiff.projection)
testtiff_pszProj4_string = srs.ExportToProj4()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment