Bug report #21840

Geopackage - wrong string length

Added by Luca Lanteri 12 months ago. Updated 11 months ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider
Affected QGIS version:3.6.1 Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:Yes Copied to github as #:29655

Description

When I try to export string data from csv to geopackage "String" columns are converted to String(255) also if they contains more than 255 character.
Data are not truncated but when I import geopackage layer into PostGIS the process fails.

The bug can be linked to #18442 and #17508?

2019-04-12_134123.jpg (26.4 KB) Luca Lanteri, 2019-04-12 01:51 PM

2019-04-12_134105.jpg (63.4 KB) Luca Lanteri, 2019-04-12 01:51 PM


Related issues

Duplicates QGIS Application - Bug report #21714: Exported GeoPackages have wrong field definitions Closed 2019-03-31

History

#1 Updated by Alessandro Pasotti 12 months ago

  • Duplicates Bug report #21714: Exported GeoPackages have wrong field definitions added

#2 Updated by Giovanni Manghi 12 months ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer 11 months ago

  • Description updated (diff)

#4 Updated by Jürgen Fischer 11 months ago

  • Description updated (diff)
  • Subject changed from Geopakage - wrong string length to Geopackage - wrong string length

Also available in: Atom PDF