diff --git a/gj2ascii.py b/gj2ascii.py index d72ff86..aa231d3 100644 --- a/gj2ascii.py +++ b/gj2ascii.py @@ -20,7 +20,7 @@ from shapely.geometry import asShape -__version__ = '0.1.2' +__version__ = '0.2.0' __author__ = 'Kevin Wurster' __email__ = 'wursterk@gmail.com' __source__ = 'https://github.com/geowurster/gj2ascii' diff --git a/tests.py b/tests.py index 90045de..ceaac8e 100644 --- a/tests.py +++ b/tests.py @@ -45,7 +45,6 @@ EXPECTED_LINE_20_WIDE = """ - FID: 0 Min X: 256848.263169 Max X: 258243.515542 @@ -86,7 +85,6 @@ . . . . . . + + . . + . . . . . + + . . . . . . . . . + + . + . . . . . . + + . . . . . . . . . + + + . . . . . . . + + -. . . . . . . . . + . . . . . . . . . + FID: 1 @@ -150,7 +148,6 @@ . . . . . . . . . . . . . . . . . . + + . . . . . . . . . . . . . . . . . . . + . . . . . . . . . . . . . . . . . . . + -. . . . . . . . . . . . . . . . . . . + FID: 2 @@ -193,7 +190,7 @@ def test_expected(self): expected_args = { EXPECTED_POLYGON_20_WIDE: [ self.poly_file, - '--width', 20, + '--width', '20', '--value', value, '--fill', fill, '--all' @@ -204,7 +201,6 @@ def test_expected(self): '--fill', '.', '--no-prompt', '--all-touched', - '--no-prompt', self.line_file ] }