Opened 12 years ago

Closed 9 years ago

#741 closed enhancement (fixed)

Small enhancements and bug fixes for v.out.ogr

Reported by: benducke Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: Vector Version: svn-releasebranch64
Keywords: export Cc:
CPU: Unspecified Platform: Unspecified


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.

Attachments (1)

v.out.ogr.diff (7.0 KB) - added by benducke 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by benducke

Attachment: v.out.ogr.diff added

comment:1 Changed 12 years ago by (none)

Milestone: 6.4.1

Milestone 6.4.1 deleted

comment:2 Changed 11 years ago by hamish

Milestone: 6.4.1

comment:3 Changed 9 years ago by neteler

Keywords: import added

comment:4 in reply to:  3 Changed 9 years ago by mmetz

Keywords: export added; import removed
Resolution: fixed
Status: newclosed
Version: svn-develbranch6svn-releasebranch64

All changes are already in 6.4.3.

Markus M

Note: See TracTickets for help on using tickets.