[FWTools] python ogr - setField attribute error

David Fawcett david.fawcett at gmail.com
Mon Oct 23 14:39:37 EDT 2006


That was it.  The case errors just don't stick out enough to me yet.

Thanks for taking the time to look at it.

David.



> David,
>
> I think the problem is that python is case sensitive, and the method is
> SetField(), not setField(). Try "f.SetField(colNum,cols[colNum])".
>
> 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    | President OSGeo, http://osgeo.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20061023/7304bcaf/attachment.html


More information about the FWTools mailing list