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
Xiaodong Zhang, Ph. D
Associate Professor
Department of Earth System Science and Policy
University of North Dakota
Tel: (701) 777-6087
http://www.und.edu/instruct/zhang
On 1/6/2011 10:11 PM, Chaitanya kumar CH wrote:
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
<xiaodong.zha...@und.edu <mailto:xiaodong.zha...@und.edu>> 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 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 or an older version of the next gen bindings.
I found the previous threads on this issue, but could not find an
answer.
Any idea? Thanks
Xiaodong
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org <mailto:gdal-dev@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev