[FWTools] gdal_polygonize.py bindings error
Lewie
lewie.dekker at myjaring.net
Sat Sep 5 04:29:56 EST 2009
Hi Jaap,
Did you ever get this going? I tried the latest gdal-dev version (Sept
2009), but it still refuses to go.
Now, i.s.o. the binding errors, it crashes on the "import new" statement on
line 8 inside the file
c:\OSGeo4W\apps\gdal-dev\pymod\osgeo\gdal.py
Regards,
Lewie
jjknoops 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.
> When i run it without variable then i get this
>
>>Python "C:\Program Files\FWTools2.2.8\bin\gdal_polygonize.py"
>
> gdal_polygonize [-o name=value] [-nomask] [-mask filename] raster_file [-b
> band]
>
> ??????????????? [-q] [-f ogr_format] out_file [layer] [fieldname]
>
> But when I try to use it with variable I get this message
>
> Python "C:\Program Files\FWTools2.2.8\bin\gdal_polygonize.py"? of91035.img
> test
>
> gdal.Polygonize() not available.? You are likely using "old gen"
> bindings or an older version of the next gen bindings.
>
> 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?
>
> Best Regards,
> Jaap Knoops
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
>
--
View this message in context: http://www.nabble.com/gdal_polygonize.py-bindings-error-tp20676549p25305348.html
Sent from the FWTools mailing list archive at Nabble.com.
More information about the FWTools
mailing list