Fixed #29761 -- Confirmed support for PROJ 5.x.
This commit is contained in:
parent
4441778c26
commit
c5e450ac95
|
@ -9,7 +9,7 @@ geospatial libraries:
|
|||
Program Description Required Supported Versions
|
||||
======================== ==================================== ================================ ===================================
|
||||
:doc:`GEOS <../geos>` Geometry Engine Open Source Yes 3.6, 3.5, 3.4
|
||||
`PROJ.4`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 4.9, 4.8, 4.7, 4.6, 4.5, 4.4
|
||||
`PROJ.4`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 5.2, 5.1, 5.0, 4.x
|
||||
:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 2.3, 2.2, 2.1, 2.0, 1.11
|
||||
:doc:`GeoIP <../geoip2>` IP-based geolocation library No 2
|
||||
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 2.4, 2.3, 2.2, 2.1
|
||||
|
|
|
@ -514,10 +514,10 @@ class GDALRasterTests(SimpleTestCase):
|
|||
self.assertEqual(target.width, 7)
|
||||
self.assertEqual(target.height, 7)
|
||||
self.assertEqual(target.bands[0].datatype(), source.bands[0].datatype())
|
||||
self.assertAlmostEqual(target.origin[0], 9124842.791079799)
|
||||
self.assertAlmostEqual(target.origin[1], 1589911.6476407414)
|
||||
self.assertAlmostEqual(target.scale[0], 223824.82664250192)
|
||||
self.assertAlmostEqual(target.scale[1], -223824.82664250192)
|
||||
self.assertAlmostEqual(target.origin[0], 9124842.791079799, 3)
|
||||
self.assertAlmostEqual(target.origin[1], 1589911.6476407414, 3)
|
||||
self.assertAlmostEqual(target.scale[0], 223824.82664250192, 3)
|
||||
self.assertAlmostEqual(target.scale[1], -223824.82664250192, 3)
|
||||
self.assertEqual(target.skew, [0, 0])
|
||||
|
||||
result = target.bands[0].data()
|
||||
|
|
|
@ -1118,7 +1118,7 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
|
|||
def test_transform_3d(self):
|
||||
p3d = GEOSGeometry('POINT (5 23 100)', 4326)
|
||||
p3d.transform(2774)
|
||||
self.assertEqual(p3d.z, 100)
|
||||
self.assertAlmostEqual(p3d.z, 100, 3)
|
||||
|
||||
def test_transform_noop(self):
|
||||
""" Testing `transform` method (SRID match) """
|
||||
|
|
Loading…
Reference in New Issue