Open
Description
Note about data types and strings: for geopackage/sqlite the change in the string length is just different value in the metatable, but the actually it both stored same way. Since in reality it is same data type, this metatable difference is ignored by geodiff.
robot@gis:~$ ogrinfo gis/point.gpkg -al -so |grep WorkZone
WorkZone: String (10.0)
robot@gis:~$ ogrinfo other_point.gpkg -al -so |grep WorkZ
WorkZone: String (5.0)
robot@gis:~$ geodiff diff --json point.gpkg other_point.gpkg a-to-b.diff
(returns no diff)
On the contrary, if the type changes to int from string, the difference should be caught by geodiff
It would be good if this particular case the geodiff can change the metadata entry:
If this value is set to a non-zero value, then certain QGIS operations fail such as when the layer is exported. So we now have a situation where, when using Mergin, certain QGIS operations fail due to this not syncing properly