[FWTools] gdal_polygonize.py bindings error

Frank Warmerdam warmerdam at pobox.com
Tue Nov 25 10:10:45 EST 2008


jjknoops at netscape.net wrote:
> Hello Everybody,
> 
> I was trying to use gdal_polygonize.py but i get an error that i am 
> using an old 'gen'.
> But the strange thing is that i can run the script with out any variable 
> without any problem.
...
> I am using FWTools228 on a windows XP computer. The python version I am 
> using is the one supplied with fwtools (2.3.4)
> 
> What I am i doing wrong?

Jaap,

gdal_polygonize is not supported on FWTools because FWTools uses the old
gen bindings.  This doesn't cause a problem in the "usage message" part of
the script - only in the call to gdal.Polygonize() itself.

You can use OSGeo4W's "gdal-dev" package if you want to try out the polygonize
function.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list