Selon Mohamed Saâd HESSANE <[email protected]>: Mohamed,
you can also use the OGRLayer::SetFeature() method to update an existing feature from a shapefile. But be aware that if you expand the geometry, its binary size will increase, so when you ask the geometry to be written by SetFeature(), the shape driver will write it at the end of the .shp file, so you might end up losing a lot of space. The same also applies to your current method of deleting and recreating a new feature. Best regards, Even > Hy list, > I' m trying to add on the fly points comming from GPS to a shapefile. > But the only way i find is to delete the feature from the shapefille, and > create a new feature with the added point. There's another way? > Thank you > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
