chanbot5000 / Morps

Python scripts utilizing OGR
Other
24 stars 12 forks source link

geometry.simplify() : ISSUE #1

Open jvpsgill opened 10 years ago

jvpsgill commented 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

chanbot5000 commented 10 years ago

Hi jvpsgill, can you provide more information on your issue? What inputs are you using? Can I see the code you are using?