qfieldsync
qfieldsync copied to clipboard
QFieldSync doesn't work with 3dimensional PostGIS-data
I have a PostGIS materialized view as a layer in my QGIS-project file. The geometry-field of the materialized view is a 3dimensional point-geometry. This geometry-field is generated by st_force3d(source_geometry). That means, the original source_geometry is 2dimensional. When QFieldSync exports that layer into the base.gpkg no features will be exported.
QGIS handles my materialized view layer without error and I can export the layer by 'hand' via layer > export > save as gpkg and selecting 'point-geometry' and 'include z-dimension'. So that shows me, that there is no general problem with my materialized view layer. Just the QFieldSync-export to base.gpkg doesn't work. Would be great if someone could help me with that issue.
Can you try the qgis offline editing plugin and see if it works with that? Ideally try with the latest version of qgis.