Opened 15 years ago

Closed 12 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

Description

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 15 years ago.

Download all attachments as: .zip

Change History (5)

by benducke, 15 years ago

Attachment: v.out.ogr.diff added

comment:1 by (none), 15 years ago

Milestone: 6.4.1

Milestone 6.4.1 deleted

comment:2 by hamish, 15 years ago

Milestone: 6.4.1

comment:3 by neteler, 12 years ago

Keywords: import added
Milestone: 6.4.16.4.4

in reply to:  3 comment:4 by mmetz, 12 years ago

Keywords: export added; import removed
Milestone: 6.4.46.4.3
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.