Today I came across a very strange behavior of QGIS. Maybe someone knows what's going on?
I have a table with two fields which are defined as Double, with a Length of 20 and a Precision of 0. Some sample values:
8159080177 8159080742 8159080008 ...
The format by the way is shape. Exporting a selection of the features results in a table that has same definitions as stated above but all values for the two columns are
-2147483648 -2147483648 -2147483648 ...
I get the same values when I read the features with python using
<feature>.GetFieldAsInteger('<fieldname>'). Reading it as a string returns the correct value.
What is happening here?