You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Column data type detection should be case insensitive, given that SQLite follows SQL standards where identifiers are case insensitive when not quoted, which is the case for column data type definition.
Using v4.2.4, a feature table defined as create table feature (id integer not null, geometry geometry, constraint primary key(id)) is not loaded and could emit this error messages: Unsupported column data type integer Unsupported column data type geometry
This kind of errors could be avoided modifying GeoPackageDataType.fromName function (and similar GeometryType.fromName function) like this: function fromName(type) { return GeoPackageDataType[type.toUpperCase()]; }
Thanks in advance,
Paco.
The text was updated successfully, but these errors were encountered:
Hi,
Column data type detection should be case insensitive, given that SQLite follows SQL standards where identifiers are case insensitive when not quoted, which is the case for column data type definition.
Using v4.2.4, a feature table defined as
create table feature (id integer not null, geometry geometry, constraint primary key(id))
is not loaded and could emit this error messages:Unsupported column data type integer
Unsupported column data type geometry
This kind of errors could be avoided modifying
GeoPackageDataType.fromName
function (and similarGeometryType.fromName
function) like this:function fromName(type) { return GeoPackageDataType[type.toUpperCase()]; }
Thanks in advance,
Paco.
The text was updated successfully, but these errors were encountered: