Skip to content

Commit f815a7c

Browse files
committed
Update geocoords pytests to be compatible with Proj 6.3.2.
1 parent cff9f8e commit f815a7c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGES

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
2019/07/29 (version 1.10.1)
1+
2020/10/23 (version 1.10.1)
22

33
Fix bug in composite spatial database. Allow queries that only use
44
one of the two spatial databases.
55

6+
Update geocoords pytests to be compatibility with Proj 6.3.2.
7+
68
2019/07/01 (version 1.10.0)
79

810
Added UserFunctionDB for user-specified analytical functions.

tests/pytests/geocoords/TestCSGeoProj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_initialize(self):
2323
proj = Projector()
2424
proj.inventory.projection = "aea"
2525
proj.inventory.units = "m"
26-
proj.inventory.projOptions = "+lon_0=-100.0 +lat_30.0 +k=0.9995"
26+
proj.inventory.projOptions = "+lon_0=-100.0 +lat_1=30.0 +k=0.9995"
2727
proj._configure()
2828

2929
from spatialdata.geocoords.CSGeoProj import CSGeoProj

tests/pytests/geocoords/TestProjector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
projection = "aea"
2121
units = "km"
22-
projOptions = "+lon_0=-100.0 +lat_0=30.0 +k=0.9996"
22+
projOptions = "+lon_0=-100.0 +lat_1=30.0 +k=0.9996"
2323
lonlatVals = numpy.array([ [-1.203425320000e+02, 5.323423000000e+01],
2424
[-5.330394500000e+01, 3.334902000000e+01],
2525
[ 3.422908500000e+01, -2.523422000000e+01],

0 commit comments

Comments
 (0)