[Gdal-dev] Cannot update the shapefile's attribute with OGR
nilarcs
nilarcs at gmail.com
Mon Aug 22 05:44:07 EDT 2005
Hi all
I'm a newbie with OGR. I can use it to read the shapefile, but when I
want to update some attributes, it seemed that it didn't work. I have
opened the shapefile with TRUE parameter , and used the ' SetField (
int iField,const char * pszValue)' to give the field some new
attribute . But when the program terminated , the attribute has no
change, even adding the SyncToDisk() method.
I have no idea. How can I do ? Thanks for any advice! If you can give
some sample code, it's more better :)
--
-------------------------------------------------------------------
Zhang Jun
More information about the Gdal-dev
mailing list