Hi, everybody: I'm now trying to write polygonized result into an esri shapefile, and I tried
to add some field to the attribute table in the shapefile. But it corrupted when i was trying to create an *ogrfielddefn* instance.The code goes like this: OGRFieldDefn oField("归一化植被指数",OFTInteger); if(poLayer->CreateField(&oField) != OGRERR_NONE) { printf("create 归一化植被指数 failed!"); exit(1); }
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev