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
Possible workaround: Categorize by "to_string(id)" and not "id".
reald
changed the title
Categorized symbolization does not work on bigint columns
Categorized symbolization does not work on bigint columns in QGIS
Jan 2, 2020
Describe the bug
Categorized symbolization does not work on bigint columns. Reproduced with spatiallite.
How to Reproduce
987654321012345 in db seems to be 821493369 here
987654321012346 in db seems to be 821493370 here
QGIS and OS versions
Additional context
Create test database:
$>sqlite3 bigint.db
SQLite version 3.22.0 2018-01-22 18:45:57
Enter ".help" for usage hints.
sqlite> CREATE TABLE IF NOT EXISTS test (
...> "id" BIGINT,
...> "value" INT);
sqlite> SELECT load_extension('mod_spatialite.so');
sqlite> SELECT InitSpatialMetaData(1);
1
sqlite> SELECT AddGeometryColumn('test', 'position', 4326, 'LINESTRING', 'XYM');
1
sqlite> INSERT INTO test (id, value, position) VALUES
(987654321012345, 1, ST_GeomFromtext('LINESTRINGM(10.416255 55.3786316 1577093516, 10.516255 55.4786316 157709)', 4326) ),
(987654321012346, 2, ST_GeomFromtext('LINESTRINGM(10.316255 55.3786316 1577093516, 11.216255 56.3786316 157709)', 4326) );
The text was updated successfully, but these errors were encountered: