You must use the NG python bindings in order to use gdal_polygonize.py because
GDALPolygonize is not mapped in the OG python bindings.
I'm not sure why you don't manage to compile the NG bindings. My Ubuntu 8.04
comes with python 2.5.2 and they work.
Le Monday 06 October 2008 16:47:29 Mario Cavi
Hi all,
I compilated GDAL from repository (rev. 15462), because I want to use
the gdal_polygonize.py utility. I used option --with-ogpython for make
GDAL, because with --with-python I had some problem in compilation (I
use python 2.5.2). Now, if I try to use gdal_polygonize.py, I get this
error:
$