Le lundi 19 novembre 2012 18:56:02, Wuerfel, Hannes a écrit : > Hi all, > > I'm new to gdal OGR Simple Feature Library. > What I'd like to do is to read an esri shapefile, modify the geometry and > feature information and write a new shapefile to disc. I went through the > read/write tutorial and I can write back the Geometry to the new shapefile > but I'm stugged with copying the other feature informations. > > Can somebody please explain to me how it should be done?
Have a look at OGRFeature::SetFrom() and OGRFeature::SetField() _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
