Small enhancements and bug fixes for v.out.ogr
Some timid enhancements and bug fixes to v.out.ogr:
- added -u ("update") flag for writing layers to existing OGR datasources
- added -s ("skip cat") flag for dropping GRASS cat column from output
- made sure that OGR features are properly created and destroyed each time through the main export loop
- fixed two nasty mem leaks in the attribute field generation code (mk_att)
Please test extensively with your data to see if this patch can be applied to 6.4.x or even 6.4.svn. It is critical mostly for getting v.out.ogr to work with SQLite databases.
I will do all major updates to this module (faster attribute table export, support for kernels and volumes) in the 6.5 and 7 branches only.