Open jvpsgill opened 10 years ago
Using your simplify code... simplifiedGeom = geometry.Simplify(tolerance)
Getting error: Traceback (most recent call last): File "D:\GDAL_TEST_SCRIPTS\SIMPLIFY_SHP\simplify_3.py", line 77, in simplify(infile, tolerance) File "D:\GDAL_TEST_SCRIPTS\SIMPLIFY_SHP\simplify_3.py", line 53, in simplify simplifiedGeom = geometry.Simplify(0.05) File "C:\Python25\lib\site-packages\osgeo\ogr.py", line 2604, in getattr = lambda self, name: _swig_getattr(self, Geometry, name) File "C:\Python25\lib\site-packages\osgeo\ogr.py", line 34, in _swig_getattr raise AttributeError,name AttributeError: Simplify
Hi jvpsgill, can you provide more information on your issue? What inputs are you using? Can I see the code you are using?
Using your simplify code... simplifiedGeom = geometry.Simplify(tolerance)
Getting error: Traceback (most recent call last): File "D:\GDAL_TEST_SCRIPTS\SIMPLIFY_SHP\simplify_3.py", line 77, in
simplify(infile, tolerance)
File "D:\GDAL_TEST_SCRIPTS\SIMPLIFY_SHP\simplify_3.py", line 53, in simplify
simplifiedGeom = geometry.Simplify(0.05)
File "C:\Python25\lib\site-packages\osgeo\ogr.py", line 2604, in
getattr = lambda self, name: _swig_getattr(self, Geometry, name)
File "C:\Python25\lib\site-packages\osgeo\ogr.py", line 34, in _swig_getattr
raise AttributeError,name
AttributeError: Simplify