It would indeed seem from my experience any shorter string is being replaced by a long one. However I am unsure what a zero length string is supposed to achieve in a geopackage or any format.

On 1/04/19 3:30 AM, Stefan Keller wrote:
Hi,

I could replicate this behavior (limiting string to 255) using QGIS 3
by exporting a layer to a GeoPackage.
My impression is, that GeoPackage data provider is replacing
String/QString field types which have length 0, by a default length of
255 chars (which is obviously wrong).

:Stefan

Am So., 31. März 2019 um 13:47 Uhr schrieb Anita Graser <anitagra...@gmx.at>:


On Sun, Mar 31, 2019 at 11:42 AM Anita Graser <anitagra...@gmx.at> wrote:
On Sat, Mar 30, 2019 at 10:11 PM Alessandro Pasotti <apaso...@gmail.com> wrote:
On Sat, Mar 30, 2019, 21:55 Anita Graser <anitagra...@gmx.at> wrote:
- Option #2: QGIS shouldn't create GeoPackages that store long strings in field 
defined as text(255)
I'll create a ticket for #2 then.

Here it is: https://issues.qgis.org/issues/21714

Regards,
Anita


_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to