Skip to content

Commit

Permalink
fix up srs test
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jul 22, 2014
1 parent 4e8705a commit b52d04f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/tests/SRS-GDAL.txt
Expand Up @@ -6,8 +6,11 @@
>>> s = srs.SRS()
>>> s.proj4
''
>>> s.proj4 = b'+proj=utm +zone=15 +datum=WGS84 +units=m +no_defs'
>>> s.proj4 == '+proj=utm +zone=15 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs '
>>> s.set_proj4(b'+proj=utm +zone=15 +datum=WGS84 +units=m +no_defs')
True
>>> print s.proj4
+proj=utm +zone=15 +datum=WGS84 +units=m +no_defs
>>> s.proj4 == '+proj=utm +zone=15 +datum=WGS84 +units=m +no_defs '
True

>>> s = srs.SRS()
Expand Down

0 comments on commit b52d04f

Please sign in to comment.