Bug report #16404

OGR error on feature: id too large

Added by Romain Blanc about 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/OGR
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24313

Description

On a GeoPackage layer with a feature id column ("fid"), it is possible to add features with very long fid (like 4345345453544) but not to delete the feature (or edit the fid). In these cases, QGIS returns a commit error: OGR error on feature 1234*: id too large* (see screenshots attached).

Tested on QGIS 2.18.5 and 2.99, W10 x64

commit_error.PNG (6.71 KB) Romain Blanc, 2017-04-01 03:33 AM

barre_erreur_eng.PNG (2.92 KB) Romain Blanc, 2017-04-01 03:33 AM

Associated revisions

Revision 2c49631b
Added by Even Rouault over 6 years ago

[OGR provider] Support 64bit FID (partially implemented per 8f3d44d4e9321efc035a6080b161f5dd48d4f230 in master) (fixes #16404)

Revision 86247cfd
Added by Even Rouault over 6 years ago

[OGR provider] Support 64bit FID (fixes #16404)

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Even Rouault over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF