------------------
To the world you're little, but to a person you're the world.
Chen Xuexia------------------ Original ------------------ From: "wow"<[EMAIL PROTECTED]>; Date: Fri, Aug 1, 2008 11:21 AM To: "gdal-dev"<[email protected]>; Subject: [gdal-dev] Update existing shape file Hi, I wanna set new field value to an existing shape file which has been opened with update access, but it doesn't work, my code like this: OGRFeature* pFeature = pLayer->GetFeature(2); int nIdx = pFeature->GetFieldIndex("Name"); pFeature->UnsetField(nIdx); pFeature->SetField( "Name", "hanJ reiver" ); Anyone give me some advices? ------------------ To the world you're little, but to a person you're the world. Chen Xuexia
2135025775.txt
Description: Binary data
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
