Re: [gdal-dev] gdal_polygonize.py binding error

2011-01-07 Thread Xiaodong Zhang
Hi Chaitanya, Setting PYTHONPATH did solve the problem. The new gdal-python bindings were installed under /user/local/lib64/python2.4/site-packages and the path was not set automatically. It would be nice if the sys.path is modified automatically by gdal installation. Thanks Xiaodong Xiaodo

Re: [gdal-dev] gdal_polygonize.py binding error

2011-01-06 Thread Chaitanya kumar CH
Xiaodong, Check again after setting the environment variable PYTHONPATH to the path to the new python bindings. On Fri, Jan 7, 2011 at 12:55 AM, Xiaodong Zhang wrote: > Hi, > > I just updated the older version of gdal (1.4.2) with the latest version > of gdal (1.7.3) on x64 RedHat. Got an erro

[gdal-dev] gdal_polygonize.py binding error

2011-01-06 Thread Xiaodong Zhang
Hi, I just updated the older version of gdal (1.4.2) with the latest version of gdal (1.7.3) on x64 RedHat. Got an error when using gdal_polygonize.py for a test image gdal_polyzonize.py t2.tif -f "ESRI Shapefile" pt2 gdal.Polyzonize() not available. You are likely using "old gen" bindings