#2672 closed enhancement (fixed)
[PATCH] add fields in existing .dbf
Reported by: | wonder | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | shape |
Cc: | msieczka |
Description
Attached patch adds functionality to add fields to shapefiles that already exist and contain records. It shifts records in .dbf file (file gets automatically inflated) and finally updates DBF header once all records are on the right place. Contents of new field is filled by NULL values.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | dbf_add_field.patch added |
---|
comment:1 by , 15 years ago
Keywords: | shape added |
---|---|
Milestone: | → 1.6.0 |
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 15 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Upstreamed to shapelib.
Committed in trunk (r15715 and r15717).
Also added a test suite test for creating fields on populated layers (r15714).